mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
dupstore.cc: prefer prefix ++operator for iterators
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
f6b4f3e000
commit
bc77af7e1c
@ -52,7 +52,7 @@ int dupstore(ObjectStore* src, ObjectStore* dst)
|
||||
src->collection_list(*p, o);
|
||||
int numo = o.size();
|
||||
int j = 1;
|
||||
for (vector<hobject_t>::iterator q = o.begin(); q != o.end(); q++) {
|
||||
for (vector<hobject_t>::iterator q = o.begin(); q != o.end(); ++q) {
|
||||
ObjectStore::Transaction t;
|
||||
if (did_object.count(*q))
|
||||
t.collection_add(*p, did_object[*q], *q);
|
||||
|
Loading…
Reference in New Issue
Block a user