From 678a319888f88cf5bae2312afc3ba73533c0f901 Mon Sep 17 00:00:00 2001 From: Wladimir J. van der Laan Date: Sun, 15 Apr 2012 12:59:20 +0200 Subject: [PATCH] fix warnings: delete called on 'XX' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] --- src/keystore.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/keystore.h b/src/keystore.h index 1f2c6ae..cb297c3 100644 --- a/src/keystore.h +++ b/src/keystore.h @@ -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; -- 1.7.1