mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05: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
@ -187,6 +187,7 @@ class RsGixsReputation
|
||||
public:
|
||||
// get Reputation.
|
||||
virtual RsReputations::ReputationLevel overallReputationLevel(const RsGxsId& id,uint32_t *identity_flags=NULL) = 0;
|
||||
virtual ~RsGixsReputation(){}
|
||||
};
|
||||
|
||||
/*** This Class pulls all the GXS Interfaces together ****/
|
||||
@ -210,6 +211,7 @@ virtual ~RsGxsIdExchange() { return; }
|
||||
class RsGcxs
|
||||
{
|
||||
public:
|
||||
virtual ~RsGcxs(){}
|
||||
|
||||
/* GXS Interface - for working out who can receive */
|
||||
virtual bool isLoaded(const RsGxsCircleId &circleId) = 0;
|
||||
|
@ -35,6 +35,7 @@
|
||||
class PgpAuxUtils
|
||||
{
|
||||
public:
|
||||
virtual ~PgpAuxUtils(){}
|
||||
|
||||
virtual const RsPgpId &getPGPOwnId() = 0;
|
||||
virtual RsPgpId getPGPId(const RsPeerId& sslid) = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user