[clang-tidy] Replace C style casts with C++ ones
Found with google-readability-casting Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Paul Beckingham
parent
55d103c491
commit
13e1bf7204
@@ -123,7 +123,7 @@ int main (int argc, char** argv)
|
||||
std::cout << i << '\n';
|
||||
|
||||
// Show the result in string form.
|
||||
std::cout << (std::string) result
|
||||
std::cout << std::string(result)
|
||||
<< '\n';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user