# HG changeset patch # User Sebastien Jodogne # Date 1432904424 -7200 # Node ID d6971e18a324c716bb197126fce4a64321ffa082 # Parent 1cd2e09cb0e5623166734f7dfc71df7c50affbdd cppcheck diff -r 1cd2e09cb0e5 -r d6971e18a324 OrthancServer/DicomFindQuery.cpp --- a/OrthancServer/DicomFindQuery.cpp Fri May 29 14:46:06 2015 +0200 +++ b/OrthancServer/DicomFindQuery.cpp Fri May 29 15:00:24 2015 +0200 @@ -205,7 +205,7 @@ DicomFindQuery::~DicomFindQuery() { for (Constraints::iterator it = constraints_.begin(); - it != constraints_.end(); it++) + it != constraints_.end(); ++it) { delete it->second; } diff -r 1cd2e09cb0e5 -r d6971e18a324 OrthancServer/OrthancRestApi/OrthancRestResources.cpp --- a/OrthancServer/OrthancRestApi/OrthancRestResources.cpp Fri May 29 14:46:06 2015 +0200 +++ b/OrthancServer/OrthancRestApi/OrthancRestResources.cpp Fri May 29 15:00:24 2015 +0200 @@ -53,7 +53,7 @@ Json::Value answer = Json::arrayValue; for (std::list::const_iterator - resource = resources.begin(); resource != resources.end(); resource++) + resource = resources.begin(); resource != resources.end(); ++resource) { if (expand) { diff -r 1cd2e09cb0e5 -r d6971e18a324 OrthancServer/ResourceFinder.cpp --- a/OrthancServer/ResourceFinder.cpp Fri May 29 14:46:06 2015 +0200 +++ b/OrthancServer/ResourceFinder.cpp Fri May 29 15:00:24 2015 +0200 @@ -204,7 +204,7 @@ filtered_.clear(); for (std::list::const_iterator - it = resources.begin(); it != resources.end(); it++) + it = resources.begin(); it != resources.end(); ++it) { DicomMap mainTags; if (index_.GetMainDicomTags(mainTags, *it, level_)) diff -r 1cd2e09cb0e5 -r d6971e18a324 Plugins/Samples/ServeFolders/Plugin.cpp --- a/Plugins/Samples/ServeFolders/Plugin.cpp Fri May 29 14:46:06 2015 +0200 +++ b/Plugins/Samples/ServeFolders/Plugin.cpp Fri May 29 15:00:24 2015 +0200 @@ -222,7 +222,7 @@ std::string s = "

Additional folders served by Orthanc