Skip to content

Commit

Permalink
build: fix warning for preventing copy elision
Browse files Browse the repository at this point in the history
  • Loading branch information
akirakw committed Jun 17, 2024
1 parent 6817776 commit 796e05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/test/scenario_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ TEST_P(UpdateTest, test_update) {

auto update_data_creator = metadata_test->get_update_data_creator();
// Generate data for updating.
auto ut_metadata_update = std::move(update_data_creator(before_ptree));
auto ut_metadata_update = update_data_creator(before_ptree);

auto updated_metadata = ut_metadata_update->get_metadata_ptree();
// Update metadata.
Expand Down

0 comments on commit 796e05a

Please sign in to comment.