mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Give WalletModel::UnlockContext move semantics
This commit is contained in:
@@ -482,7 +482,7 @@ WalletModel::UnlockContext::~UnlockContext()
|
||||
}
|
||||
}
|
||||
|
||||
void WalletModel::UnlockContext::CopyFrom(const UnlockContext& rhs)
|
||||
void WalletModel::UnlockContext::CopyFrom(UnlockContext&& rhs)
|
||||
{
|
||||
// Transfer context; old object no longer relocks wallet
|
||||
*this = rhs;
|
||||
|
||||
Reference in New Issue
Block a user