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

summaryrefslogtreecommitdiff
path: root/source/core/StarParametricFunction.hpp
diff options
context:
space:
mode:
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)));
}