diff Core/HttpServer/HttpOutput.cpp @ 656:08eca5d86aad

fixes to cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 04 Nov 2013 11:19:31 +0100
parents 6f8ae46ed90e
children 2d0a347e8cfc
line wrap: on
line diff
--- a/Core/HttpServer/HttpOutput.cpp	Wed Oct 30 11:56:28 2013 +0100
+++ b/Core/HttpServer/HttpOutput.cpp	Mon Nov 04 11:19:31 2013 +0100
@@ -89,7 +89,7 @@
     std::string s = "HTTP/1.1 200 OK\r\n";
 
     for (Header::const_iterator 
-           it = header.begin(); it != header.end(); it++)
+           it = header.begin(); it != header.end(); ++it)
     {
       s += it->first + ": " + it->second + "\r\n";
     }
@@ -144,7 +144,7 @@
                                   const HttpHandler::Arguments& cookies)
   {
     for (HttpHandler::Arguments::const_iterator it = cookies.begin();
-         it != cookies.end(); it++)
+         it != cookies.end(); ++it)
     {
       header.push_back(std::make_pair("Set-Cookie", it->first + "=" + it->second));
     }