Disallow copy of CReserveKeys

pull/365/head
Gregory Sanders 8 years ago
parent f7ec7cfd38
commit 188f89c3bb

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

Loading…
Cancel
Save