changeset 56:120e2262201a

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 26 Nov 2024 17:17:49 +0100
parents 9935c4bdbc69
children 9f36196247d7 141183c5847c
files Sources/Plugin.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Sources/Plugin.cpp	Tue Nov 26 17:15:31 2024 +0100
+++ b/Sources/Plugin.cpp	Tue Nov 26 17:17:49 2024 +0100
@@ -751,13 +751,13 @@
       }
 
       std::string jsonModalities;
-      for (std::set<std::string>::const_iterator it = modalities.begin(); it != modalities.end(); ++it)
+      for (std::set<std::string>::const_iterator it2 = modalities.begin(); it2 != modalities.end(); ++it2)
       {
         if (!jsonModalities.empty())
         {
           jsonModalities += ",";
         }
-        jsonModalities += *it;
+        jsonModalities += *it2;
       }
 
       study["NumInstances"] = countInstances;