fix warnings: delete called on 'XX' that has virtual functions but non-virtual destru...
authorWladimir J. van der Laan <laanwj@gmail.com>
Sun, 15 Apr 2012 10:59:20 +0000 (12:59 +0200)
committerLuke Dashjr <luke-jr+git@utopios.org>
Sun, 15 Apr 2012 23:42:19 +0000 (19:42 -0400)
src/keystore.h

index 1f2c6ae..cb297c3 100644 (file)
@@ -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;