aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2019-05-09 18:07:33 -0700
committerPieter Wuille <[email protected]>2019-05-09 18:07:33 -0700
commit0b09a57aec4c56712711585a4314d73d4d9b6877 (patch)
treecb176e55b272a145187c026e68479ece1b96d179 /src/qt/walletmodel.cpp
parentMerge #15939: gitian: Remove Windows 32 bit build (diff)
downloaddiscoin-0b09a57aec4c56712711585a4314d73d4d9b6877.tar.xz
discoin-0b09a57aec4c56712711585a4314d73d4d9b6877.zip
Give WalletModel::UnlockContext move semantics
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r--src/qt/walletmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index fd392b7cf..a2b295df2 100644
--- a/src/qt/walletmodel.cpp
+++ b/src/qt/walletmodel.cpp
@@ -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;