Skip to content

Commit

Permalink
Generic lambdas are C++14
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed May 12, 2018
1 parent b9050f2 commit 94f85b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_initialization/lobby_data.cpp
Expand Up @@ -295,7 +295,7 @@ game_info::game_info(const config& game, const config& game_config, const std::v
}
}

std::sort(mod_info.begin(), mod_info.end(), [](const auto& lhs, const auto& rhs) {
std::sort(mod_info.begin(), mod_info.end(), [](const std::pair<std::string, bool>& lhs, const std::pair<std::string, bool>& rhs) {
return translation::icompare(lhs.first, rhs.first) < 0;
});

Expand Down

0 comments on commit 94f85b8

Please sign in to comment.