Fix typo
This commit is contained in:
parent
4f927ea6c7
commit
f2cf71f6e9
|
@ -228,7 +228,7 @@ void CheckClass::constructors()
|
|||
if (classNameUsed)
|
||||
operatorEqVarError(func.token, scope->className, var.name(), inconclusive);
|
||||
} else if (func.access != AccessControl::Private || mSettings->standards.cpp >= Standards::CPP11) {
|
||||
// If constructor is not in scope then we maybe using a oonstructor from a different template specialization
|
||||
// If constructor is not in scope then we maybe using a constructor from a different template specialization
|
||||
if (!precedes(scope->bodyStart, func.tokenDef))
|
||||
continue;
|
||||
const Scope *varType = var.typeScope();
|
||||
|
|
Loading…
Reference in New Issue