mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
fix warnings: delete called on 'XX' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
This commit is contained in:
parent
11cd416525
commit
2e120f28e0
@ -15,6 +15,8 @@ protected:
|
|||||||
mutable CCriticalSection cs_KeyStore;
|
mutable CCriticalSection cs_KeyStore;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
virtual ~CKeyStore() {}
|
||||||
|
|
||||||
// Add a key to the store.
|
// Add a key to the store.
|
||||||
virtual bool AddKey(const CKey& key) =0;
|
virtual bool AddKey(const CKey& key) =0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user