aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGregory Sanders <[email protected]>2017-03-02 17:04:39 -0800
committerGregory Sanders <[email protected]>2017-03-06 09:26:10 -0500
commit188f89c3bb1f93203f6e3f70e4da5d0ee0b36446 (patch)
treeae6ab61c627e04c9e754b7334362c397fc96488a /src
parentMerge #9359: Add test for CWalletTx::GetImmatureCredit() returning stale values. (diff)
downloaddiscoin-188f89c3bb1f93203f6e3f70e4da5d0ee0b36446.tar.xz
discoin-188f89c3bb1f93203f6e3f70e4da5d0ee0b36446.zip
Disallow copy of CReserveKeys
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 98e4fb87b..992c8d2f8 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -1009,6 +1009,10 @@ public:
pwallet = pwalletIn;
}
+ CReserveKey() = default;
+ CReserveKey(const CReserveKey&) = delete;
+ CReserveKey& operator=(const CReserveKey&) = delete;
+
~CReserveKey()
{
ReturnKey();