From: Wladimir J. van der Laan Date: Sun, 15 Apr 2012 10:59:20 +0000 (+0200) Subject: fix warnings: delete called on 'XX' that has virtual functions but non-virtual destru... X-Git-Tag: v0.4.0-unstable~129^2~72^2~2 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=2e120f28e02df228502f5569e9ac74ef630323cb fix warnings: delete called on 'XX' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] --- diff --git a/src/keystore.h b/src/keystore.h index 282eaaa..5d29ac1 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;