changeset 1386:72184773c62f query-retrieve

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 29 May 2015 15:09:14 +0200
parents 772c8507c68d
children 8871e0895bb0 f4794121bcea
files Core/Cache/SharedArchive.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Core/Cache/SharedArchive.cpp	Fri May 29 15:00:45 2015 +0200
+++ b/Core/Cache/SharedArchive.cpp	Fri May 29 15:09:14 2015 +0200
@@ -82,7 +82,7 @@
   SharedArchive::~SharedArchive()
   {
     for (Archive::iterator it = archive_.begin();
-         it != archive_.end(); it++)
+         it != archive_.end(); ++it)
     {
       delete it->second;
     }
@@ -124,7 +124,7 @@
     boost::mutex::scoped_lock lock(mutex_);
 
     for (Archive::const_iterator it = archive_.begin();
-         it != archive_.end(); it++)
+         it != archive_.end(); ++it)
     {
       items.push_back(it->first);
     }