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
1 changed files with 2 additions and 0 deletions

View File

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