From f25f3c64b48e46d4c8df5261def2b4135cb525cb Mon Sep 17 00:00:00 2001 From: Ettl Martin Date: Sun, 17 Oct 2010 20:15:29 +0800 Subject: [PATCH] fixed style waring (You should use ++ and -- as prefix whenever possible as these are more efficient than postfix operators) in lib/checkclass.cpp --- lib/checkclass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/checkclass.cpp b/lib/checkclass.cpp index 892a78dfd..d8e906710 100644 --- a/lib/checkclass.cpp +++ b/lib/checkclass.cpp @@ -1352,7 +1352,7 @@ void CheckClass::privateFunctions() if (ftok->next()->str() == (*it)->str()) FuncList.erase(it++); else - it++; + ++it; } } ftok = ftok->next(); @@ -1385,7 +1385,7 @@ void CheckClass::privateFunctions() if (tok2->str() == (*it)->str()) FuncList.erase(it++); else - it++; + ++it; } } }