Update sort.cpp

This commit is contained in:
Paul Beckingham
2019-02-07 08:13:50 -05:00
parent 32d14bc085
commit 8df69597f6

View File

@@ -99,9 +99,8 @@ void sort_projects (
{ {
std::map <std::string, int> allProjectsInt; std::map <std::string, int> allProjectsInt;
for (auto& p : allProjects) for (auto& p : allProjects)
{
allProjectsInt[p.first] = (int) p.second; allProjectsInt[p.first] = (int) p.second;
}
sort_projects (sorted, allProjectsInt); sort_projects (sorted, allProjectsInt);
} }