diff OrthancServer/OrthancRestApi/OrthancRestArchive.cpp @ 1303:bba8a47922d1

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Feb 2015 16:47:24 +0100
parents 6e7e5ed91c2d
children 0c735fed8953
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestArchive.cpp	Tue Feb 10 16:33:57 2015 +0100
+++ b/OrthancServer/OrthancRestApi/OrthancRestArchive.cpp	Tue Feb 10 16:47:24 2015 +0100
@@ -324,7 +324,7 @@
 
       size_t pos = 0;
       for (std::list<std::string>::const_iterator
-             it = instances.begin(); it != instances.end(); it++, pos++)
+             it = instances.begin(); it != instances.end(); ++it, ++pos)
       {
         // "DICOM restricts the filenames on DICOM media to 8
         // characters (some systems wrongly use 8.3, but this does not