From 620ca6c2665b7cf4bdfa4e45354e35fae4936719 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Tue, 2 Apr 2013 16:03:50 +0200 Subject: [PATCH] rgw/rgw_op.cc: prefer prefix ++operator for iterator Signed-off-by: Danny Al-Gaaf --- src/rgw/rgw_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index e0b4e56f65ae..d2fbeeb14d74 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -1960,7 +1960,7 @@ void RGWOptionsCORS::get_response_params(string& hdrs, string& exp_hdrs, unsigne if (req_hdrs) { list hl; get_str_list(req_hdrs, hl); - for(list::iterator it = hl.begin(); it != hl.end(); it++) { + for(list::iterator it = hl.begin(); it != hl.end(); ++it) { if (!rule->is_header_allowed((*it).c_str(), (*it).length())) { dout(5) << "Header " << (*it) << " is not registered in this rule" << dendl; } else { -- 2.47.3