]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/Migrator.cc: prefer prefix ++operator for iterator
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 2 Apr 2013 12:01:24 +0000 (14:01 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 2 Apr 2013 12:01:24 +0000 (14:01 +0200)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/mds/Migrator.cc

index 7ec53f3eae07c95fb7748e431112c02ab01bc0ae..565d45ddc979d4afec0218573410cd314da45835 100644 (file)
@@ -2129,7 +2129,7 @@ void Migrator::import_notify_finish(CDir *dir, set<CDir*>& bounds)
       new MExportDirNotify(dir->dirfrag(), false,
                           pair<int,int>(import_peer[dir->dirfrag()], mds->get_nodeid()),
                           pair<int,int>(mds->get_nodeid(), CDIR_AUTH_UNKNOWN));
-    for (set<CDir*>::iterator i = bounds.begin(); i != bounds.end(); i++)
+    for (set<CDir*>::iterator i = bounds.begin(); i != bounds.end(); ++i)
       notify->get_bounds().push_back((*i)->dirfrag());
     mds->send_message_mds(notify, *p);
   }