mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +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
|
|
@ -548,7 +548,7 @@ BOOST_AUTO_TEST_CASE(test_big_witness_transaction)
|
|||
for(uint32_t i = 0; i < mtx.vin.size(); i++) {
|
||||
std::vector<CScriptCheck> vChecks;
|
||||
vChecks.emplace_back(coins[tx.vin[i].prevout.n].out, tx, i, SCRIPT_VERIFY_P2SH | SCRIPT_VERIFY_WITNESS, false, &txdata);
|
||||
control.Add(vChecks);
|
||||
control.Add(std::move(vChecks));
|
||||
}
|
||||
|
||||
bool controlCheck = control.Wait();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue