From 4c99d1c605f416e7b527447a99797cd5372157c2 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Thu, 23 Jan 2025 23:16:08 +0100 Subject: [PATCH] Fix volk_gnsssdr_profile --- .../libs/volk_gnsssdr_module/volk_gnsssdr/lib/qa_utils.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/qa_utils.cc b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/qa_utils.cc index f94058dd6..278b63348 100644 --- a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/qa_utils.cc +++ b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/qa_utils.cc @@ -262,7 +262,7 @@ static void get_signatures_from_name(std::vector &inputsig, std::string token = toked[token_index]; try { - type = volk_gnsssdr_type_from_string(std::move(token)); + type = volk_gnsssdr_type_from_string(token); if (side == SIDE_NAME) side = SIDE_OUTPUT; // if this is the first one after the name... if (side == SIDE_INPUT) @@ -527,8 +527,8 @@ bool run_volk_gnsssdr_tests(volk_gnsssdr_func_desc_t desc, std::vector *results, std::string puppet_master_name) { - return run_volk_gnsssdr_tests(desc, manual_func, name, test_params.tol(), test_params.scalar(), - test_params.vlen(), test_params.iter(), results, puppet_master_name, + return run_volk_gnsssdr_tests(desc, manual_func, std::move(name), test_params.tol(), test_params.scalar(), + test_params.vlen(), test_params.iter(), results, std::move(puppet_master_name), test_params.benchmark_mode()); } @@ -627,7 +627,7 @@ bool run_volk_gnsssdr_tests(volk_gnsssdr_func_desc_t desc, memcpy(arch_inbuff, inbuffs[j], vlen * inputsig[j].size * (inputsig[j].is_complex ? 2 : 1)); arch_buffs.push_back(arch_inbuff); } - test_data.push_back(std::move(arch_buffs)); + test_data.push_back(arch_buffs); } std::vector both_sigs;