diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 98e4fb87b..992c8d2f8 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1009,6 +1009,10 @@ public: pwallet = pwalletIn; } + CReserveKey() = default; + CReserveKey(const CReserveKey&) = delete; + CReserveKey& operator=(const CReserveKey&) = delete; + ~CReserveKey() { ReturnKey();