# HG changeset patch # User Sebastien Jodogne # Date 1392374942 -3600 # Node ID cf6e761e7da543a6dd706d842e41bb4170eb51a3 # Parent 78239878727a60ff38d10e28b025339ff11a9ff0 cppcheck diff -r 78239878727a -r cf6e761e7da5 OrthancServer/OrthancFindRequestHandler.cpp --- 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& source) { for (std::list::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::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::const_iterator - it = tmp.begin(); it != tmp.end(); it++) + it = tmp.begin(); it != tmp.end(); ++it) { std::list children; index_.GetChildren(children, *it); @@ -400,7 +400,7 @@ if (isFilterApplied_) { for (std::set::const_iterator - it = filtered_.begin(); it != filtered_.end(); it++) + it = filtered_.begin(); it != filtered_.end(); ++it) { resources.push_back(*it); }