diff OrthancServer/OrthancRestApi/OrthancRestResources.cpp @ 1384:d6971e18a324

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 29 May 2015 15:00:24 +0200
parents a1745d9be6e9
children 772c8507c68d
line wrap: on
line diff
--- 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<std::string>::const_iterator
-           resource = resources.begin(); resource != resources.end(); resource++)
+           resource = resources.begin(); resource != resources.end(); ++resource)
     {
       if (expand)
       {