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
committerWladimir J. van der Laan <laanwj@gmail.com>2012-04-15 13:40:14 +0200
commit2e120f28e02df228502f5569e9ac74ef630323cb (patch)
treef6fe2d68fbef9d8dea79ff7a754276943e6a0810 /src/keystore.h
parent11cd41652519be7053b16847ffa2a7c7df64b95d (diff)
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 282eaaa047..5d29ac1cb9 100644
--- a/src/keystore.h
+++ b/src/keystore.h
@@ -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;