diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 9451bf8861e..65ad3e0095b 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1036,6 +1036,10 @@ public: pwallet = pwalletIn; } + CReserveKey() = default; + CReserveKey(const CReserveKey&) = delete; + CReserveKey& operator=(const CReserveKey&) = delete; + ~CReserveKey() { ReturnKey();