HomePhabricator

CBlockLocator: performance-move-const-arg Clang tidy fixups

Description

CBlockLocator: performance-move-const-arg Clang tidy fixups

Summary:
Backport of core#25963.

Fix explicit move for RVO and make the CBlockLocator constructor move the hashes.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
Jon Atack <jon@atack.com>Authored on Aug 31 2022, 11:07
FabienCommitted on Jun 5 2024, 17:47
FabienPushed on Jun 5 2024, 17:47
Reviewer
Restricted Project
Differential Revision
D16286: CBlockLocator: performance-move-const-arg Clang tidy fixups
Parents
rABCbce200942978: [avalanche] pass the processor to Chainstate::PreciousBlock
Branches
Unknown
Tags
Unknown