fix warnings: delete called on 'XX' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]

This commit is contained in:
Wladimir J. van der Laan 2012-04-15 12:59:20 +02:00
parent 11cd416525
commit 2e120f28e0

View File

@ -15,6 +15,8 @@ protected:
mutable CCriticalSection cs_KeyStore; mutable CCriticalSection cs_KeyStore;
public: public:
virtual ~CKeyStore() {}
// Add a key to the store. // Add a key to the store.
virtual bool AddKey(const CKey& key) =0; virtual bool AddKey(const CKey& key) =0;