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:
parent
ddfc7b2d5a
commit
f25f3c64b4
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue