diff options
author | Gregory Sanders <gsanders87@gmail.com> | 2017-03-02 17:04:39 -0800 |
---|---|---|
committer | Gregory Sanders <gsanders87@gmail.com> | 2017-03-06 09:26:10 -0500 |
commit | 188f89c3bb1f93203f6e3f70e4da5d0ee0b36446 (patch) | |
tree | ae6ab61c627e04c9e754b7334362c397fc96488a | |
parent | f7ec7cfd38b543ba81ac7bed5b77f9a19739460b (diff) |
Disallow copy of CReserveKeys
-rw-r--r-- | src/wallet/wallet.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 98e4fb87b9..992c8d2f80 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(); |