mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
CBlockLocator: performance-move-const-arg Clang tidy fixups
Co-authored-by: "Pieter Wuille <pieter@wuille.net>" Co-authored-by: "Vasil Dimov <vd@FreeBSD.org>" Co-authored-by: "MarcoFalke <falke.marco@gmail.com>"
This commit is contained in:
@@ -49,7 +49,7 @@ std::vector<uint256> LocatorEntries(const CBlockIndex* index)
|
||||
|
||||
CBlockLocator GetLocator(const CBlockIndex* index)
|
||||
{
|
||||
return CBlockLocator{std::move(LocatorEntries(index))};
|
||||
return CBlockLocator{LocatorEntries(index)};
|
||||
}
|
||||
|
||||
CBlockLocator CChain::GetLocator() const
|
||||
|
||||
Reference in New Issue
Block a user