diff --git a/src/test/blsct/building_block/imp_inner_prod_arg_tests.cpp b/src/test/blsct/building_block/imp_inner_prod_arg_tests.cpp index 4c5c6ea7edaaf..f71a331f7c8e1 100644 --- a/src/test/blsct/building_block/imp_inner_prod_arg_tests.cpp +++ b/src/test/blsct/building_block/imp_inner_prod_arg_tests.cpp @@ -56,9 +56,9 @@ BOOST_AUTO_TEST_CASE(test_exec_ypow_loop) std::vector act; ImpInnerProdArg::LoopWithYPows(3, y, [&](const size_t& i, const Scalar& y_pow, const Scalar& y_inv_pow) { - act.push_back(Scalar(i)); - act.push_back(y_pow); - act.push_back(y_inv_pow); + act.emplace_back(Scalar(i)); + act.emplace_back(y_pow); + act.emplace_back(y_inv_pow); } ); Scalar zero = Scalar(0);