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:
Danny Al-Gaaf 2014-06-23 10:17:48 +02:00
parent cd12394750
commit 2210ee3c3e

View File

@ -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);