From c089f5d55b61ba8446c392e9cbd9925e92ec5140 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Fri, 15 Mar 2013 10:16:40 +0100 Subject: [PATCH] mds/Migrator.cc: prefer prefix ++operator for iterators Signed-off-by: Danny Al-Gaaf --- src/mds/Migrator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/Migrator.cc b/src/mds/Migrator.cc index 7b854a267c79..b485ab11a9d0 100644 --- a/src/mds/Migrator.cc +++ b/src/mds/Migrator.cc @@ -1976,7 +1976,7 @@ void Migrator::import_remove_pins(CDir *dir, set& bounds) // bounding dirfrags for (set::iterator it = bounds.begin(); it != bounds.end(); - it++) { + ++it) { CDir *bd = *it; bd->put(CDir::PIN_IMPORTBOUND); bd->state_clear(CDir::STATE_IMPORTBOUND); -- 2.47.3