From c9e889723b7af832322d178975e6e440d6cd3ae5 Mon Sep 17 00:00:00 2001 From: LDA Date: Mon, 26 Jun 2023 11:48:27 -0700 Subject: resolved most of the compiler warnings/errors under gcc also update xxhash and tinyformat --- source/core/StarParametricFunction.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/core/StarParametricFunction.hpp') diff --git a/source/core/StarParametricFunction.hpp b/source/core/StarParametricFunction.hpp index 5eaff14..8221c05 100644 --- a/source/core/StarParametricFunction.hpp +++ b/source/core/StarParametricFunction.hpp @@ -124,7 +124,7 @@ ParametricTable::ParametricTable(PairContainer indexValueP return std::get<0>(a) < std::get<0>(b); }); - for (auto const pair : indexValuePairs) { + for (auto const& pair : indexValuePairs) { m_indexes.push_back(move(std::get<0>(pair))); m_values.push_back(move(std::get<1>(pair))); } -- cgit v1.2.3