From 4787569104717e2b78ea28f6a77d3930ced1523d Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Sat, 4 Feb 2017 18:02:22 +0100 Subject: [PATCH] Fix warning --- event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.cpp b/event.cpp index 8516e32..890d52c 100644 --- a/event.cpp +++ b/event.cpp @@ -4561,7 +4561,7 @@ void CEvent::WinToSDLEvent (UINT msg, WPARAM wParam, LPARAM lParam, SDL_Event &e break; } } - catch (const std::exception &ex) + catch (...) { SDL_LogError (SDL_LOG_CATEGORY_APPLICATION, "unsupported keycode"); }