mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Disallow copy of CReserveKeys
This commit is contained in:
parent
f7ec7cfd38
commit
188f89c3bb
1 changed files with 4 additions and 0 deletions
|
|
@ -1009,6 +1009,10 @@ public:
|
||||||
pwallet = pwalletIn;
|
pwallet = pwalletIn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CReserveKey() = default;
|
||||||
|
CReserveKey(const CReserveKey&) = delete;
|
||||||
|
CReserveKey& operator=(const CReserveKey&) = delete;
|
||||||
|
|
||||||
~CReserveKey()
|
~CReserveKey()
|
||||||
{
|
{
|
||||||
ReturnKey();
|
ReturnKey();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue