From d2026a99bc6240306aec8c2e04efa3d2b3ad79d5 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Fri, 15 Mar 2013 10:06:24 +0100 Subject: [PATCH] mds/events/EMetaBlob.h: prefer prefix ++operator for iterators Signed-off-by: Danny Al-Gaaf --- src/mds/events/EMetaBlob.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/events/EMetaBlob.h b/src/mds/events/EMetaBlob.h index 4ff320edd2c..7065460945f 100644 --- a/src/mds/events/EMetaBlob.h +++ b/src/mds/events/EMetaBlob.h @@ -476,7 +476,7 @@ private: else in->encode_snap_blob(snapbl); - for (list >::iterator p = roots.begin(); p != roots.end(); p++) { + for (list >::iterator p = roots.begin(); p != roots.end(); ++p) { if ((*p)->inode.ino == in->ino()) { roots.erase(p); break;