[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:
Rosen Penev
2019-09-27 20:42:34 -07:00
committed by Paul Beckingham
parent 55d103c491
commit 13e1bf7204
14 changed files with 86 additions and 86 deletions

View File

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