From 121fa8a1699d3b979163a839f6dbaa1fd9147f33 Mon Sep 17 00:00:00 2001 From: y5nw <37980625+y5nw@users.noreply.github.com> Date: Tue, 7 Jan 2025 21:48:49 +0100 Subject: [PATCH] minor --- src/client/keycode.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/client/keycode.h b/src/client/keycode.h index 9b7dc0a9c45ed..ee5e739fd3c6e 100644 --- a/src/client/keycode.h +++ b/src/client/keycode.h @@ -28,13 +28,10 @@ class KeyPress irr::EKEY_CODE getKeycode() const; wchar_t getKeychar() const; - //TODO: drop this once we fully switch to SDL u32 getScancode() const { -#if USE_SDL2 if (auto pv = std::get_if(&scancode)) return *pv; -#endif return 0; }