# HG changeset patch # User Sebastien Jodogne # Date 1403689915 -7200 # Node ID c068671d12a9809a4fe3e0564295c71586b9eca8 # Parent 3fb427ac3f53886cb686164b8994489a85aa6c54 fixes thanks to cppcheck diff -r 3fb427ac3f53 -r c068671d12a9 Plugins/Engine/PluginsHttpHandler.cpp --- 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(); diff -r 3fb427ac3f53 -r c068671d12a9 Plugins/Engine/PluginsManager.cpp --- a/Plugins/Engine/PluginsManager.cpp Wed Jun 25 11:40:41 2014 +0200 +++ b/Plugins/Engine/PluginsManager.cpp Wed Jun 25 11:51:55 2014 +0200 @@ -159,7 +159,7 @@ for (std::list::iterator it = that->serviceProviders_.begin(); - it != that->serviceProviders_.end(); it++) + it != that->serviceProviders_.end(); ++it) { try { @@ -199,7 +199,7 @@ PluginsManager::~PluginsManager() { - for (Plugins::iterator it = plugins_.begin(); it != plugins_.end(); it++) + for (Plugins::iterator it = plugins_.begin(); it != plugins_.end(); ++it) { if (it->second != NULL) {