Fixed recently introduced verbose message for cstyleCast
[ci skip]
This commit is contained in:
parent
6635abbe55
commit
f1c303d399
|
@ -515,7 +515,7 @@ void CheckOther::cstyleCastError(const Token *tok)
|
||||||
"C-style pointer casting\n"
|
"C-style pointer casting\n"
|
||||||
"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: "
|
"C-style pointer casting detected. C++ offers four different kinds of casts as replacements: "
|
||||||
"static_cast, const_cast, dynamic_cast and reinterpret_cast. A C-style cast could evaluate to "
|
"static_cast, const_cast, dynamic_cast and reinterpret_cast. A C-style cast could evaluate to "
|
||||||
"each of those automatically, thus it is considered safer it the programmer explicitly states "
|
"any of those automatically, thus it is considered safer if the programmer explicitly states "
|
||||||
"which kind of cast is expected.");
|
"which kind of cast is expected.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue