diff UnitTestsSources/DicomMapTests.cpp @ 1304:7b6925b0890d

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Feb 2015 17:03:17 +0100
parents 6e7e5ed91c2d
children 0649c5aef34a
line wrap: on
line diff
--- a/UnitTestsSources/DicomMapTests.cpp	Tue Feb 10 16:47:24 2015 +0100
+++ b/UnitTestsSources/DicomMapTests.cpp	Tue Feb 10 17:03:17 2015 +0100
@@ -141,7 +141,7 @@
   DicomMap::GetMainDicomTags(main, level);
   
   // The main dicom tags are a subset of the module
-  for (std::set<DicomTag>::const_iterator it = main.begin(); it != main.end(); it++)
+  for (std::set<DicomTag>::const_iterator it = main.begin(); it != main.end(); ++it)
   {
     bool ok = moduleTags.find(*it) != moduleTags.end();