0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-05 14:06:27 -05:00

Disallow copy of CReserveKeys

This commit is contained in:
Gregory Sanders 2017-03-02 17:04:39 -08:00
parent f7ec7cfd38
commit 188f89c3bb

View file

@ -1009,6 +1009,10 @@ public:
pwallet = pwalletIn;
}
CReserveKey() = default;
CReserveKey(const CReserveKey&) = delete;
CReserveKey& operator=(const CReserveKey&) = delete;
~CReserveKey()
{
ReturnKey();