Fixed some gcc warnings

This commit is contained in:
Twan van Laarhoven
2020-04-16 00:45:43 +02:00
parent a8d78fc28c
commit 40a84687c7
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ NewSetWindow::NewSetWindow(Window* parent)
game_list->showData<Game>();
try {
game_list->select(settings.default_game);
} catch (FileNotFoundError e) {
} catch (FileNotFoundError const& e) {
handle_error(e);
}
game_list->SetFocus();