diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-15 12:59:20 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-15 13:40:14 +0200 |
commit | 2e120f28e02df228502f5569e9ac74ef630323cb (patch) | |
tree | f6fe2d68fbef9d8dea79ff7a754276943e6a0810 /src/keystore.h | |
parent | 11cd41652519be7053b16847ffa2a7c7df64b95d (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.h | 2 |
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; |