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 Jun 5 2024, 18:17
teamcityPushed on Jun 6 2024, 09:29
Parents
rSTAGING54d457d91401: Fix some std::move issues
Branches
Unknown
Tags
Unknown

Event Timeline