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
committed by Luke Dashjr
parent f650d62fc6
commit 678a319888

View File

@@ -13,6 +13,8 @@ protected:
mutable CCriticalSection cs_KeyStore;
public:
virtual ~CKeyStore() {}
virtual bool AddKey(const CKey& key) =0;
virtual bool HaveKey(const CBitcoinAddress &address) const =0;
virtual bool GetKey(const CBitcoinAddress &address, CKey& keyOut) const =0;