fixed style waring (You should use ++ and -- as prefix whenever possible as these are more efficient than postfix operators) in lib/checkclass.cpp

This commit is contained in:
Ettl Martin 2010-10-17 20:15:29 +08:00
parent ddfc7b2d5a
commit f25f3c64b4
1 changed files with 2 additions and 2 deletions

View File

@ -1352,7 +1352,7 @@ void CheckClass::privateFunctions()
if (ftok->next()->str() == (*it)->str()) if (ftok->next()->str() == (*it)->str())
FuncList.erase(it++); FuncList.erase(it++);
else else
it++; ++it;
} }
} }
ftok = ftok->next(); ftok = ftok->next();
@ -1385,7 +1385,7 @@ void CheckClass::privateFunctions()
if (tok2->str() == (*it)->str()) if (tok2->str() == (*it)->str())
FuncList.erase(it++); FuncList.erase(it++);
else else
it++; ++it;
} }
} }
} }