diff OrthancFramework/Sources/DicomParsing/FromDcmtkBridge.cpp @ 4981:d0c34145320c

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 25 Apr 2022 17:32:58 +0200
parents e1495a34cd39
children c014ab79fca5
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/FromDcmtkBridge.cpp	Mon Apr 25 15:50:57 2022 +0200
+++ b/OrthancFramework/Sources/DicomParsing/FromDcmtkBridge.cpp	Mon Apr 25 17:32:58 2022 +0200
@@ -1315,7 +1315,7 @@
   {
     std::set<std::string> values;
     for (std::set<DicomTag>::const_iterator it = tags.begin();
-         it != tags.end(); it++)
+         it != tags.end(); ++it)
     {
       values.insert(it->Format());
     }
@@ -1327,7 +1327,7 @@
   {
     output = Json::arrayValue;
     for (std::set<DicomTag>::const_iterator it = tags.begin();
-         it != tags.end(); it++)
+         it != tags.end(); ++it)
     {
       output.append(it->Format());
     }
@@ -1342,7 +1342,7 @@
     Toolbox::TokenizeString(tokens, source, ';');
 
     for (std::vector<std::string>::const_iterator it = tokens.begin();
-         it != tokens.end(); it++)
+         it != tokens.end(); ++it)
     {
       if (it->size() > 0)
       {