summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-07-12 12:10:24 +0200
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-07-12 12:10:24 +0200
commitcccc09a491820214fd525a27a3e8c3582c672a28 (patch)
tree36a41279b45b7a63792d5660d0a8a4acbab81602
parent22e0dbbd0e6b6a0fc3b49018d0a5d91ce54aca1b (diff)
downloadceph-cccc09a491820214fd525a27a3e8c3582c672a28.tar.gz
rgw/rgw_rest_opstate.cc: prefer prefix ++operator for non-trivial iterator
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r--src/rgw/rgw_rest_opstate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_rest_opstate.cc b/src/rgw/rgw_rest_opstate.cc
index 434b0db5989..2b215a7117d 100644
--- a/src/rgw/rgw_rest_opstate.cc
+++ b/src/rgw/rgw_rest_opstate.cc
@@ -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();
}