comparison 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
comparison
equal deleted inserted replaced
1382:1cd2e09cb0e5 1384:d6971e18a324
51 bool expand) 51 bool expand)
52 { 52 {
53 Json::Value answer = Json::arrayValue; 53 Json::Value answer = Json::arrayValue;
54 54
55 for (std::list<std::string>::const_iterator 55 for (std::list<std::string>::const_iterator
56 resource = resources.begin(); resource != resources.end(); resource++) 56 resource = resources.begin(); resource != resources.end(); ++resource)
57 { 57 {
58 if (expand) 58 if (expand)
59 { 59 {
60 Json::Value item; 60 Json::Value item;
61 if (index.LookupResource(item, *resource, level)) 61 if (index.LookupResource(item, *resource, level))