Fixed #2268 ([GUI] Generic class name is shown for 'Message' while correct one for 'Summary')

This commit is contained in:
Kimmo Varis 2010-12-01 17:55:22 +02:00
parent 523a4a6f05
commit 1a3175741f
1 changed files with 2 additions and 1 deletions

View File

@ -167,7 +167,8 @@ void CheckClass::noConstructorError(const Token *tok, const std::string &classna
reportError(tok, Severity::style, "noConstructor",
"The " + std::string(isStruct ? "struct" : "class") + " '" + classname +
"' does not have a constructor.\n"
"The class 'classname' does not have a constructor but it has attributes. "
"The " + std::string(isStruct ? "struct" : "class") + " '" + classname +
" 'does not have a constructor but it has attributes. "
"The attributes are not initialized which may cause bugs or undefined behavior.");
}