mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
refactor: Make move semantics explicit for callers
This commit is contained in:
parent
6c2d5972f3
commit
04831fee6d
6 changed files with 16 additions and 15 deletions
|
|
@ -2324,7 +2324,7 @@ bool Chainstate::ConnectBlock(const CBlock& block, BlockValidationState& state,
|
|||
return error("ConnectBlock(): CheckInputScripts on %s failed with %s",
|
||||
tx.GetHash().ToString(), state.ToString());
|
||||
}
|
||||
control.Add(vChecks);
|
||||
control.Add(std::move(vChecks));
|
||||
}
|
||||
|
||||
CTxUndo undoDummy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue