Disallow copy of CReserveKeys

This commit is contained in:
Gregory Sanders committed 2017-03-06 09:26:10 -05:00
1 parent f7ec7cfd38
commit 188f89c3bb
1 file changed
+4
+4
View File
@@ -1009,6 +1009,10 @@ public:
pwallet = pwalletIn;
}
CReserveKey() = default;
CReserveKey(const CReserveKey&) = delete;
CReserveKey& operator=(const CReserveKey&) = delete;
~CReserveKey()
{
ReturnKey();