]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/rgw_acl_s3.cc: prefer prefix ++operator for iterators
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 15 Mar 2013 11:31:13 +0000 (12:31 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 18 Mar 2013 11:35:38 +0000 (12:35 +0100)
commitc4cc2e80fc5838a7bac7d8fc29b5ebced6c7929d
treebf685f806a4bbe472208f3251a484ac39687cdfe
parenta740eef0fc44c645f1b95434f6929285e54d181b
rgw/rgw_acl_s3.cc: prefer prefix ++operator for iterators

Prefer prefix ++operator for iterators, move some iterator declaration into
the for-loop header, since the iterator is only used within the loops.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/rgw/rgw_acl_s3.cc