diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-04-10 15:21:41 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-04-10 15:23:37 +0200 |
commit | 9b9d7172636fa8b907cc595b194a496433fdd609 (patch) | |
tree | e1cb5ce018acda6483d3013a138d8c1d4766ccb7 /src | |
parent | dd1ca9e0b300f33eee0edcfe22024cef12c6a155 (diff) | |
download | bitcoin-9b9d7172636fa8b907cc595b194a496433fdd609.tar.xz |
wallet: Remove redundant lambda function arg in handleTransactionChanged
Makes the build warning-clean again here:
bitcoin/src/interfaces/wallet.cpp:425:18: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
[fn, this](CWallet*, const uint256& txid, ChangeType status) { fn(txid, status); }));
^
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/wallet.cpp b/src/interfaces/wallet.cpp index 21543552db..fbf631f7da 100644 --- a/src/interfaces/wallet.cpp +++ b/src/interfaces/wallet.cpp @@ -422,7 +422,7 @@ public: std::unique_ptr<Handler> handleTransactionChanged(TransactionChangedFn fn) override { return MakeHandler(m_wallet.NotifyTransactionChanged.connect( - [fn, this](CWallet*, const uint256& txid, ChangeType status) { fn(txid, status); })); + [fn](CWallet*, const uint256& txid, ChangeType status) { fn(txid, status); })); } std::unique_ptr<Handler> handleWatchOnlyChanged(WatchOnlyChangedFn fn) override { |