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
Branch
wunused (branched from master)
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6091
Build 10231: Bitcoin ABC Buildbot (legacy)
Build 10230: arc lint + arc unit