cleaned up braces
This commit is contained in:
parent
7d3e661774
commit
07db469c06
|
@ -133,9 +133,8 @@ void CheckClass::constructors()
|
|||
// don't know if they can be copied or not..
|
||||
if (!var->isPointer() && !var->isClass() && (func->type == Function::eCopyConstructor || func->type == Function::eOperatorEqual)) {
|
||||
bool stdtype = false;
|
||||
for (const Token *type = var->typeStartToken(); type && type->isName(); type = type->next()) {
|
||||
for (const Token *type = var->typeStartToken(); type && type->isName(); type = type->next())
|
||||
stdtype |= type->isStandardType();
|
||||
}
|
||||
if (!stdtype)
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue