]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osdc/ObjectCacher.cc: refer ++operator for non-primitive iterators
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 28 Jul 2014 18:10:32 +0000 (20:10 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 2 Sep 2014 11:22:07 +0000 (13:22 +0200)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/osdc/ObjectCacher.cc

index e7dfe18bb0608781bbf156d850e20a3a8b143d4b..8455fb6a5240dd21e1a98ca2be25d7a64026972d 100644 (file)
@@ -1618,7 +1618,7 @@ bool ObjectCacher::flush_set(ObjectSet *oset, Context *onfinish)
   set<BufferHead*>::iterator next, it;
   next = it = dirty_or_tx_bh.begin();
   while (it != dirty_or_tx_bh.end()) {
-    next++;
+    ++next;
     BufferHead *bh = *it;
     waitfor_commit.insert(bh->ob);