Fix Gcc Warning in nxstesthub.cc

/tests/unittests/libretroshare/gxs/nxs_test/nxstesthub.cc:109: warning:
deleting object of polymorphic class type ‘NotifyWithPeerId’ which has
non-virtual destructor might cause undefined behavior [-Wdelete-non-
virtual-dtor]
   delete *it ;
This commit is contained in:
Phenom 2018-02-15 18:57:16 +01:00 committed by csoler
parent cfcdec458a
commit 737a2b440d
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -10,6 +10,7 @@ public:
: mPeerId(val), mTestHub(hub){
}
virtual ~NotifyWithPeerId(){}
void notifyNewMessages(std::vector<RsNxsMsg*>& messages)
{