diff Plugins/Engine/PluginsHttpHandler.cpp @ 944:c068671d12a9 plugins

fixes thanks to cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 25 Jun 2014 11:51:55 +0200
parents 3e43de893d88
children 501880d76474
line wrap: on
line diff
--- a/Plugins/Engine/PluginsHttpHandler.cpp	Wed Jun 25 11:40:41 2014 +0200
+++ b/Plugins/Engine/PluginsHttpHandler.cpp	Wed Jun 25 11:51:55 2014 +0200
@@ -101,7 +101,7 @@
   PluginsHttpHandler::~PluginsHttpHandler()
   {
     for (PImpl::Callbacks::iterator it = pimpl_->callbacks_.begin(); 
-         it != pimpl_->callbacks_.end(); it++)
+         it != pimpl_->callbacks_.end(); ++it)
     {
       delete it->first;
     }
@@ -123,7 +123,7 @@
 
     bool found = false;
     for (PImpl::Callbacks::const_iterator it = pimpl_->callbacks_.begin(); 
-         it != pimpl_->callbacks_.end() && !found; it++)
+         it != pimpl_->callbacks_.end() && !found; ++it)
     {
       boost::cmatch what;
       if (boost::regex_match(flatUri.c_str(), what, *(it->first)))
@@ -166,7 +166,7 @@
 
         size_t i = 0;
         for (Arguments::const_iterator it = getArguments.begin(); 
-             it != getArguments.end(); it++, i++)
+             it != getArguments.end(); ++it, ++i)
         {
           getKeys[i] = it->first.c_str();
           getValues[i] = it->second.c_str();