From: Danny Al-Gaaf Date: Fri, 15 Mar 2013 09:19:27 +0000 (+0100) Subject: os/LFNIndex.cc: prefer prefix ++operator for iterators X-Git-Tag: v0.60~45^2~19 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7647003fe9fc635e4c18906f5b5dadbd4dd77530;p=ceph.git os/LFNIndex.cc: prefer prefix ++operator for iterators Signed-off-by: Danny Al-Gaaf --- diff --git a/src/os/LFNIndex.cc b/src/os/LFNIndex.cc index 412100fe6042..f1ba8c158f0b 100644 --- a/src/os/LFNIndex.cc +++ b/src/os/LFNIndex.cc @@ -233,7 +233,7 @@ int LFNIndex::remove_objects(const vector &dir, remaining->insert(pair( lfn_get_short_name(candidate->second.second, *i), candidate->second.second)); - candidate++; + ++candidate; } if (!holes.empty()) clean_chains.insert(lfn_get_short_name(to_clean->second, 0));