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:
parent
18b4a17ba7
commit
d2026a99bc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user