cleaned up braces

This commit is contained in:
Daniel Marjamäki 2012-09-20 16:49:26 +02:00
parent 7d3e661774
commit 07db469c06
1 changed files with 1 additions and 2 deletions

View File

@ -133,9 +133,8 @@ void CheckClass::constructors()
// don't know if they can be copied or not.. // don't know if they can be copied or not..
if (!var->isPointer() && !var->isClass() && (func->type == Function::eCopyConstructor || func->type == Function::eOperatorEqual)) { if (!var->isPointer() && !var->isClass() && (func->type == Function::eCopyConstructor || func->type == Function::eOperatorEqual)) {
bool stdtype = false; 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(); stdtype |= type->isStandardType();
}
if (!stdtype) if (!stdtype)
continue; continue;
} }