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)
committerWladimir J. van der Laan <laanwj@gmail.com>
Sun, 15 Apr 2012 11:40:14 +0000 (13:40 +0200)
src/keystore.h

index 282eaaa..5d29ac1 100644 (file)
@@ -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;