[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
@@ -99,7 +99,7 @@ void sort_projects (
|
||||
{
|
||||
std::map <std::string, int> allProjectsInt;
|
||||
for (auto& p : allProjects)
|
||||
allProjectsInt[p.first] = (int) p.second;
|
||||
allProjectsInt[p.first] = static_cast<int>(p.second);
|
||||
|
||||
sort_projects (sorted, allProjectsInt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user