mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Fix Gcc Warning in nxsmsgsync_test.cc
/trunk/tests/unittests/libretroshare/gxs/nxs_test/nxsmsgsync_test.cc:28: warning: deleting object of abstract class type ‘RsGixsReputation’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non- virtual-dtor] delete mRep ; /trunk/tests/unittests/libretroshare/gxs/nxs_test/nxsmsgsync_test.cc:29: warning: deleting object of abstract class type ‘RsGcxs’ which has non- virtual destructor will cause undefined behavior [-Wdelete-non-virtual- dtor] delete mCircles; /trunk/tests/unittests/libretroshare/gxs/nxs_test/nxsmsgsync_test.cc:30: warning: deleting object of abstract class type ‘PgpAuxUtils’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non- virtual-dtor] delete mPgpUtils;
This commit is contained in:
parent
737a2b440d
commit
73d11e1857
2 changed files with 4 additions and 1 deletions
|
@ -35,6 +35,7 @@
|
|||
class PgpAuxUtils
|
||||
{
|
||||
public:
|
||||
virtual ~PgpAuxUtils(){}
|
||||
|
||||
virtual const RsPgpId &getPGPOwnId() = 0;
|
||||
virtual RsPgpId getPGPId(const RsPeerId& sslid) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue