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

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Feb 2015 16:47:24 +0100
parents 6e7e5ed91c2d
children 4460e2622016
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestSystem.cpp	Tue Feb 10 16:33:57 2015 +0100
+++ b/OrthancServer/OrthancRestApi/OrthancRestSystem.cpp	Tue Feb 10 16:47:24 2015 +0100
@@ -130,7 +130,7 @@
       OrthancRestApi::GetContext(call).GetPluginsManager().ListPlugins(plugins);
 
       for (std::list<std::string>::const_iterator 
-             it = plugins.begin(); it != plugins.end(); it++)
+             it = plugins.begin(); it != plugins.end(); ++it)
       {
         v.append(*it);
       }
@@ -190,7 +190,7 @@
       OrthancRestApi::GetContext(call).GetPluginsManager().ListPlugins(lst);
 
       for (std::list<std::string>::const_iterator
-             it = lst.begin(); it != lst.end(); it++)
+             it = lst.begin(); it != lst.end(); ++it)
       {
         const char* tmp = plugins.GetProperty(it->c_str(), _OrthancPluginProperty_OrthancExplorer);
         if (tmp != NULL)