From 3276283f3d3a3d3592a0415a7f04bafe35d873e5 Mon Sep 17 00:00:00 2001 From: Mikhail Svechnikov <m.svechnikov@fz-juelich.de> Date: Tue, 16 Aug 2022 14:12:24 +0200 Subject: [PATCH] Datafield: rnm local var --- Device/Data/Datafield.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Device/Data/Datafield.cpp b/Device/Data/Datafield.cpp index 40570824ac9..b7eb20d2faf 100644 --- a/Device/Data/Datafield.cpp +++ b/Device/Data/Datafield.cpp @@ -77,8 +77,8 @@ double Datafield::valAt(size_t i) const void Datafield::setAllTo(const double& value) { - for (double& e : m_values) - e = value; + for (double& v : m_values) + v = value; } void Datafield::setVector(const std::vector<double>& vector) -- GitLab