diff Core/ChunkedBuffer.cpp @ 656:08eca5d86aad

fixes to cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 04 Nov 2013 11:19:31 +0100
parents bdd72233b105
children 2d0a347e8cfc
line wrap: on
line diff
--- a/Core/ChunkedBuffer.cpp	Wed Oct 30 11:56:28 2013 +0100
+++ b/Core/ChunkedBuffer.cpp	Mon Nov 04 11:19:31 2013 +0100
@@ -43,7 +43,7 @@
     numBytes_ = 0;
 
     for (Chunks::iterator it = chunks_.begin(); 
-         it != chunks_.end(); it++)
+         it != chunks_.end(); ++it)
     {
       delete *it;
     }
@@ -70,7 +70,7 @@
 
     size_t pos = 0;
     for (Chunks::iterator it = chunks_.begin(); 
-         it != chunks_.end(); it++)
+         it != chunks_.end(); ++it)
     {
       assert(*it != NULL);