mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
test/objectstore/store_test.cc: prefer ++operators for iterators
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
cd12394750
commit
2210ee3c3e
@ -596,7 +596,7 @@ public:
|
||||
map<string, bufferlist>::iterator it = contents[obj].attrs.begin();
|
||||
while (retry) {
|
||||
retry--;
|
||||
it++;
|
||||
++it;
|
||||
}
|
||||
|
||||
bufferlist bl;
|
||||
@ -624,7 +624,7 @@ public:
|
||||
map<string, bufferlist>::iterator it = contents[obj].attrs.begin();
|
||||
while (retry) {
|
||||
retry--;
|
||||
it++;
|
||||
++it;
|
||||
}
|
||||
|
||||
available_objects.erase(obj);
|
||||
|
Loading…
Reference in New Issue
Block a user