Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarParametricFunction.hpp
diff options
context:
space:
mode:
authorLDA <lda@ldasuku.net>2023-06-26 11:48:27 -0700
committerLDA <lda@ldasuku.net>2023-06-26 11:58:35 -0700
commitc9e889723b7af832322d178975e6e440d6cd3ae5 (patch)
treea8429c30ecf46ed1388df13b614141e73973cd9f /source/core/StarParametricFunction.hpp
parent4585c9cafa87cad6b54397af7e9375cc31b72f89 (diff)
resolved most of the compiler warnings/errors under gcc
also update xxhash and tinyformat
Diffstat (limited to 'source/core/StarParametricFunction.hpp')
-rw-r--r--source/core/StarParametricFunction.hpp2
1 files changed, 1 insertions, 1 deletions
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<IndexType, ValueType>::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)));
}