Attempt to fixup e8ca1439be for travis

This commit is contained in:
Charles Dang 2016-08-28 17:22:45 +11:00
parent cfed64dd4f
commit 1bd83cc65e

View file

@ -167,7 +167,7 @@ void tmp_create_game::pre_show(twindow& window)
tmenu_button& game_menu_button = find_widget<tmenu_button>(&window, "game_types", false);
// Helper to make sure the initially selected level type is valid
auto get_initial_type_index = [this]() {
auto get_initial_type_index = [this]()->int {
const auto index = std::find_if(level_types_.begin(), level_types_.end(), [](level_type_info& info) {
return info.first == ng::level::TYPE::from_int(preferences::level_type());
});