Skip to content

Commit

Permalink
remove std::move for ab.qc
Browse files Browse the repository at this point in the history
  • Loading branch information
linh2931 committed Jan 16, 2024
1 parent 7e15a9c commit 06da8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ struct assembled_block {
},
[&](assembled_block_if& ab) {
auto bsp = std::make_shared<block_state>(ab.bhs, std::move(ab.trx_metas),
std::move(ab.trx_receipts), std::move(ab.qc));
std::move(ab.trx_receipts), ab.qc);
return completed_block{std::move(bsp)};
}},
v);
Expand Down

0 comments on commit 06da8af

Please sign in to comment.