Mercurial > hg > orthanc
diff Plugins/Samples/ServeFolders/Plugin.cpp @ 1384:d6971e18a324
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 29 May 2015 15:00:24 +0200 |
parents | 3d76e26b3865 |
children | b3119c32c920 |
line wrap: on
line diff
--- 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 = "<html><body><h1>Additional folders served by Orthanc</h1><ul>\n"; for (std::map<std::string, std::string>::const_iterator - it = folders_.begin(); it != folders_.end(); it++) + it = folders_.begin(); it != folders_.end(); ++it) { s += "<li><a href=\"" + it->first + "/index.html\">" + it->first + "</li>\n"; } @@ -270,7 +270,7 @@ // Register the callback for each base URI for (Json::Value::Members::const_iterator - it = members.begin(); it != members.end(); it++) + it = members.begin(); it != members.end(); ++it) { const std::string& baseUri = *it; const std::string path = configuration["ServeFolders"][*it].asString();