diff --git a/lib/checkclass.cpp b/lib/checkclass.cpp index 9be1870f7..b5e389e94 100644 --- a/lib/checkclass.cpp +++ b/lib/checkclass.cpp @@ -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();