diff Core/Cache/SharedArchive.cpp @ 1386:72184773c62f query-retrieve

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 29 May 2015 15:09:14 +0200
parents b22ba8c5edbe
children b1291df2f780
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);
     }