Fixed error message.
This commit is contained in:
parent
083b660de3
commit
4207b3cb66
|
@ -2067,7 +2067,7 @@ void CheckClass::checkSelfInitialization()
|
||||||
|
|
||||||
void CheckClass::selfInitializationError(const Token* tok, const std::string& name)
|
void CheckClass::selfInitializationError(const Token* tok, const std::string& name)
|
||||||
{
|
{
|
||||||
reportError(tok, Severity::error, "selfInitialization", "Member variable '" + name + "' is initialized by itself.\n");
|
reportError(tok, Severity::error, "selfInitialization", "Member variable '" + name + "' is initialized by itself.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue