mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
rgw/rgw_user.cc: prefer prefix ++operator for iterators
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
424bce9af5
commit
12a44bc2b9
@ -246,7 +246,7 @@ int rgw_read_user_buckets(RGWRados *store, string user_id, RGWUserBuckets& bucke
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
for (map<string,bufferlist>::iterator q = m.begin(); q != m.end(); q++) {
|
||||
for (map<string,bufferlist>::iterator q = m.begin(); q != m.end(); ++q) {
|
||||
bufferlist::iterator iter = q->second.begin();
|
||||
RGWBucketEnt bucket;
|
||||
::decode(bucket, iter);
|
||||
|
Loading…
Reference in New Issue
Block a user