Fix a typo in error message (#5264)
This commit is contained in:
parent
3186577f45
commit
c5deb0a631
|
@ -2582,7 +2582,7 @@ void CheckClass::checkConstError2(const Token *tok1, const Token *tok2, const st
|
|||
"passed to the function. This change should not cause compiler errors but it does not "
|
||||
"necessarily make sense conceptually. Think about your design and the task of the function first - "
|
||||
"is it a function that must not access members of class instances? And maybe it is more appropriate "
|
||||
"to move this function to a unnamed namespace.", CWE398, Certainty::inconclusive);
|
||||
"to move this function to an unnamed namespace.", CWE398, Certainty::inconclusive);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue