1
0
mirror of https://github.com/ceph/ceph synced 2024-12-23 11:54:11 +00:00

mds/events/EMetaBlob.h: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
Danny Al-Gaaf 2013-03-15 10:06:24 +01:00
parent 18b4a17ba7
commit d2026a99bc

View File

@ -476,7 +476,7 @@ private:
else
in->encode_snap_blob(snapbl);
for (list<std::tr1::shared_ptr<fullbit> >::iterator p = roots.begin(); p != roots.end(); p++) {
for (list<std::tr1::shared_ptr<fullbit> >::iterator p = roots.begin(); p != roots.end(); ++p) {
if ((*p)->inode.ino == in->ino()) {
roots.erase(p);
break;