Fixed error message.

This commit is contained in:
PKEuS 2014-08-05 11:59:26 +02:00
parent 083b660de3
commit 4207b3cb66
1 changed files with 1 additions and 1 deletions

View File

@ -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.");
} }