Small fix to error message.
Start with capital letter and no space in beginning.
This commit is contained in:
parent
095f725b3c
commit
2c3f9a9dce
|
@ -2520,8 +2520,8 @@ void CheckOther::unusedStructMemberError(const Token *tok, const std::string &st
|
|||
void CheckOther::passedByValueError(const Token *tok, const std::string &parname)
|
||||
{
|
||||
reportError(tok, Severity::performance, "passedByValue",
|
||||
"Function parameter '" + parname + "' should be passed by reference.\n "
|
||||
"parameter '" + parname + "' is passed as a value. It could be passed "
|
||||
"Function parameter '" + parname + "' should be passed by reference.\n"
|
||||
"Parameter '" + parname + "' is passed as a value. It could be passed "
|
||||
"as a (const) reference which is usually faster and recommended in C++.");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue