diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-03-12 15:59:29 +0100 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-03-12 16:59:44 +0100 |
commit | 5ad24601ffa7d81ac8407743397864fe8cef416c (patch) | |
tree | 24ac4c5a4670e74db0687b2e75bb6a80d3a10a70 /src/cls/rgw | |
parent | client/Inode.cc: prefer prefix ++operator for iterators (diff) | |
download | ceph-5ad24601ffa7d81ac8407743397864fe8cef416c.tar.xz ceph-5ad24601ffa7d81ac8407743397864fe8cef416c.zip |
cls/rgw/cls_rgw.cc: prefer prefix --operator for iterators
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Diffstat (limited to 'src/cls/rgw')
-rw-r--r-- | src/cls/rgw/cls_rgw.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cls/rgw/cls_rgw.cc b/src/cls/rgw/cls_rgw.cc index b942ff7d29d..15498ef0aa6 100644 --- a/src/cls/rgw/cls_rgw.cc +++ b/src/cls/rgw/cls_rgw.cc @@ -746,7 +746,7 @@ static int usage_iterate_range(cls_method_context_t hctx, uint64_t start, uint64 return 0; } } - iter--; + --iter; start_key = iter->first; } while (true); return 0; @@ -1071,7 +1071,7 @@ static int gc_iterate_entries(cls_method_context_t hctx, const string& marker, i++; } - iter--; + --iter; start_key = iter->first; } while (true); return 0; |