From 13f6f26bfadc311f24289fd86b4eb74b24445459 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Tue, 24 Feb 2015 10:46:17 +0100 Subject: [PATCH] osd/osd_types.cc: prefer ++operator for non-primitive iter Signed-off-by: Danny Al-Gaaf --- src/osd/osd_types.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/osd_types.cc b/src/osd/osd_types.cc index 4efab9f70bbbd..e6ddab216a35e 100644 --- a/src/osd/osd_types.cc +++ b/src/osd/osd_types.cc @@ -1778,7 +1778,7 @@ bool pg_stat_t::is_acting_osd(int32_t osd, bool primary) const return true; } else if (!primary) { for(vector::const_iterator it = acting.begin(); - it != acting.end(); it++) + it != acting.end(); ++it) { if (*it == osd) return true; -- 2.39.5