Fix a typo in error message (#5264)

This commit is contained in:
Samuel Poláček 2023-07-26 07:54:59 +02:00 committed by GitHub
parent 3186577f45
commit c5deb0a631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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