diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 560f3cf1598..abba13007c0 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -987,6 +987,10 @@ class CReserveKey : public CReserveScript pwallet = pwalletIn; } + CReserveKey() = default; + CReserveKey(const CReserveKey&) = delete; + CReserveKey& operator=(const CReserveKey&) = delete; + ~CReserveKey() { ReturnKey();