From: Danny Al-Gaaf Date: Mon, 18 Mar 2013 13:24:27 +0000 (+0100) Subject: client/Client.cc: prefer prefix ++operator for iterators X-Git-Tag: v0.60~44^2~20 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d0a1632d50539754e66eb129109ac1e7d01269e6;p=ceph.git client/Client.cc: prefer prefix ++operator for iterators Signed-off-by: Danny Al-Gaaf --- diff --git a/src/client/Client.cc b/src/client/Client.cc index 08330e15b84..1b6183ce369 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -3716,7 +3716,7 @@ void Client::unmount() p != inode_map.end(); p = next) { next = p; - next++; + ++next; Inode *in = p->second; if (!in) { ldout(cct, 0) << "null inode_map entry ino " << p->first << dendl; @@ -6480,7 +6480,7 @@ void Client::_ll_drop_pins() it = next) { Inode *in = it->second; next = it; - next++; + ++next; if (in->ll_ref) _ll_put(in, in->ll_ref); }