diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-15 12:59:20 +0200 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-04-15 19:42:19 -0400 |
commit | 678a319888f88cf5bae2312afc3ba73533c0f901 (patch) | |
tree | 5bb7c35d6e050fb7f5587364052c2c6e8c3e6a46 /src/keystore.h | |
parent | f650d62fc66d67e9afb6917de9220b1e0e6759fe (diff) | |
download | bitcoin-678a319888f88cf5bae2312afc3ba73533c0f901.tar.xz |
fix warnings: delete called on 'XX' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
Diffstat (limited to 'src/keystore.h')
-rw-r--r-- | src/keystore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keystore.h b/src/keystore.h index 1f2c6aea3e..cb297c35ab 100644 --- a/src/keystore.h +++ b/src/keystore.h @@ -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; |