HomePhabricator

Fix issues when calling std::move(const&)

Description

Fix issues when calling std::move(const&)

Summary:

Passing a symbol to std::move that is marked const is a no-op, which can be fixed in two ways:
 - Remove the const, or
 - Remove the std::move

Backport of core#25872.

Depends on D16288.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D16285

Details

Provenance
FabienAuthored on Wed, Jun 5, 18:17
FabienPushed on Thu, Jun 6, 09:26
Reviewer
Restricted Project
Differential Revision
D16285: Fix issues when calling std::move(const&)
Parents
rABC54d457d91401: Fix some std::move issues
Branches
Unknown
Tags
Unknown