Fixed #4987 (spellfix for verbose message in CheckClass::noConstructorError)
This commit is contained in:
parent
5d7ebadf25
commit
e223e13747
|
@ -716,7 +716,7 @@ void CheckClass::noConstructorError(const Token *tok, const std::string &classna
|
||||||
"The " + std::string(isStruct ? "struct" : "class") + " '" + classname +
|
"The " + std::string(isStruct ? "struct" : "class") + " '" + classname +
|
||||||
"' does not have a constructor although it has private member variables. "
|
"' does not have a constructor although it has private member variables. "
|
||||||
"Member variables of builtin types are left uninitialized when the class is "
|
"Member variables of builtin types are left uninitialized when the class is "
|
||||||
"instanciated. That may cause bugs or undefined behavior.");
|
"instantiated. That may cause bugs or undefined behavior.");
|
||||||
}
|
}
|
||||||
|
|
||||||
void CheckClass::uninitVarError(const Token *tok, const std::string &classname, const std::string &varname, bool inconclusive)
|
void CheckClass::uninitVarError(const Token *tok, const std::string &classname, const std::string &varname, bool inconclusive)
|
||||||
|
|
Loading…
Reference in New Issue