aboutsummaryrefslogtreecommitdiff
path: root/src/keystore.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-04-15 12:59:20 +0200
committerLuke Dashjr <luke-jr+git@utopios.org>2012-04-15 19:42:19 -0400
commit678a319888f88cf5bae2312afc3ba73533c0f901 (patch)
tree5bb7c35d6e050fb7f5587364052c2c6e8c3e6a46 /src/keystore.h
parentf650d62fc66d67e9afb6917de9220b1e0e6759fe (diff)
downloadbitcoin-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.h2
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;