]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/rgw_rest_opstate.cc: prefer prefix ++operator for non-trivial iterator
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 12 Jul 2013 10:10:24 +0000 (12:10 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 12 Jul 2013 10:10:24 +0000 (12:10 +0200)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/rgw/rgw_rest_opstate.cc

index 434b0db5989113d99aa2be73d39c9fc9e9519a00..2b215a7117db5a12181ad624099552598c3dbdf0 100644 (file)
@@ -88,7 +88,7 @@ void RGWOp_Opstate_List::send_response() {
 void RGWOp_Opstate_List::send_response(list<cls_statelog_entry> entries) {
   RGWOpState oc(store);
   for (list<cls_statelog_entry>::iterator it = entries.begin();
-       it != entries.end(); it++) {
+       it != entries.end(); ++it) {
     oc.dump_entry(*it, s->formatter);
     flusher.flush();
   }