diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1216,6 +1216,10 @@ fInternal = false; } + CReserveKey() = default; + CReserveKey(const CReserveKey &) = delete; + CReserveKey &operator=(const CReserveKey &) = delete; + ~CReserveKey() { ReturnKey(); } void ReturnKey();