Page MenuHomePhabricator

[backport]Give WalletModel::UnlockContext move semantics
ClosedPublic

Authored by PiRK on Sep 25 2020, 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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a reviewer: Restricted Owners Package.Sep 25 2020, 13:23
PiRK requested review of this revision.Sep 25 2020, 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.Sep 25 2020, 13:25