Drop unneeded parentheses
Those are a misleading leftover from old code
This commit is contained in:
parent
c29f16a306
commit
f7ab8c5ebb
|
@ -2109,7 +2109,7 @@ void CheckClass::initializerListOrder()
|
||||||
|
|
||||||
// iterate through all member functions looking for constructors
|
// iterate through all member functions looking for constructors
|
||||||
for (func = scope->functionList.begin(); func != scope->functionList.end(); ++func) {
|
for (func = scope->functionList.begin(); func != scope->functionList.end(); ++func) {
|
||||||
if ((func->isConstructor()) && func->hasBody()) {
|
if (func->isConstructor() && func->hasBody()) {
|
||||||
// check for initializer list
|
// check for initializer list
|
||||||
const Token *tok = func->arg->link()->next();
|
const Token *tok = func->arg->link()->next();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue