changeset 716:cf6e761e7da5

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 14 Feb 2014 11:49:02 +0100
parents 78239878727a
children aac04f958e2c
files OrthancServer/OrthancFindRequestHandler.cpp
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/OrthancFindRequestHandler.cpp	Fri Feb 14 11:26:59 2014 +0100
+++ b/OrthancServer/OrthancFindRequestHandler.cpp	Fri Feb 14 11:49:02 2014 +0100
@@ -301,7 +301,7 @@
                             const std::list<std::string>& source)
       {
         for (std::list<std::string>::const_iterator
-               it = source.begin(); it != source.end(); it++)
+               it = source.begin(); it != source.end(); ++it)
         {
           target.insert(*it);
         }
@@ -324,7 +324,7 @@
           filtered_.clear();
 
           for (std::set<std::string>::const_iterator 
-                 it = tmp.begin(); it != tmp.end(); it++)
+                 it = tmp.begin(); it != tmp.end(); ++it)
           {
             if (s.find(*it) != s.end())
             {
@@ -366,7 +366,7 @@
           filtered_.clear();
 
           for (std::set<std::string>::const_iterator 
-                 it = tmp.begin(); it != tmp.end(); it++)
+                 it = tmp.begin(); it != tmp.end(); ++it)
           {
             std::list<std::string> children;
             index_.GetChildren(children, *it);
@@ -400,7 +400,7 @@
         if (isFilterApplied_)
         {
           for (std::set<std::string>::const_iterator 
-                 it = filtered_.begin(); it != filtered_.end(); it++)
+                 it = filtered_.begin(); it != filtered_.end(); ++it)
           {
             resources.push_back(*it);
           }