Page MenuHomePhabricator

[backport]Give WalletModel::UnlockContext move semantics
ClosedPublic

Authored by PiRK on Fri, Sep 25, 13:23.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABCdeb7d1c0ff41: [backport]Give WalletModel::UnlockContext move semantics
Summary

WalletModel::UnlockContext seems to implement "move upon copy" semantics; with C++11 this can be done more safely using move semantics (making attempts to actually copy fail instead).

Backport of Core PR16001

Test Plan

ninja check

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.

Event Timeline

Owners added a reviewer: Restricted Owners Package.Fri, Sep 25, 13:23
PiRK requested review of this revision.Fri, Sep 25, 13:23

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Fri, Sep 25, 13:25