Skip to content

Commit

Permalink
Merge bitcoin#25963: CBlockLocator: performance-move-const-arg Clang …
Browse files Browse the repository at this point in the history
…tidy fixup

6b24dfe CBlockLocator: performance-move-const-arg Clang tidy fixups (Jon Atack)

Pull request description:

  Fix Clang-tidy CI errors on master.  See https://cirrus-ci.com/task/4806752200818688?logs=ci#L4696 for an example.

ACKs for top commit:
  MarcoFalke:
    review ACK 6b24dfe
  vasild:
    ACK 6b24dfe

Tree-SHA512: 7a67acf7b42da07b63fbb392236e9a7be8cf35c36e37ca980c4467fe8295c2eda8aef10f41a1e3036cd9ebece47fa957fc3256033f853bd6a97ce2ca42799a0a
  • Loading branch information
MacroFake authored and vijaydasmp committed Feb 5, 2025
1 parent 4d61fb7 commit e5b6cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primitives/block.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ struct CBlockLocator

CBlockLocator() {}

explicit CBlockLocator(const std::vector<uint256>& vHaveIn) : vHave(vHaveIn) {}
explicit CBlockLocator(std::vector<uint256>&& have) : vHave(std::move(have)) {}

SERIALIZE_METHODS(CBlockLocator, obj)
{
Expand Down

0 comments on commit e5b6cad

Please sign in to comment.