Page MenuHomePhabricator

[nit] do not capture unused `this` in wallet interface
ClosedPublic

Authored by schancel on May 31 2019, 07:13.

Details

Summary

Remove capture of this in lambda within wallet.cpp to fix the following warning:

../../src/interfaces/wallet.cpp:405:22: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
                [fn, this](CWallet *, const TxId &txid, ChangeType status) {
Test Plan
make

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.