From ae9fdfd1eedd7c61fed09d2b52b2f19bf5669062 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Wed, 13 Mar 2013 18:09:00 +0100 Subject: [PATCH] LogEntry.h: prefer prefix ++operator for iterators Signed-off-by: Danny Al-Gaaf --- src/common/LogEntry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/LogEntry.h b/src/common/LogEntry.h index 81c23537d317..58022fe27b63 100644 --- a/src/common/LogEntry.h +++ b/src/common/LogEntry.h @@ -92,7 +92,7 @@ struct LogSummary { bool contains(const LogEntryKey& k) const { for (list::const_iterator p = tail.begin(); p != tail.end(); - p++) + ++p) if (p->key() == k) return true; return false; -- 2.47.3