remove redundant static_cast by changing Events::pressedKeys template parameter from int to keycode

This commit is contained in:
A-lex-Ra
2024-02-23 20:15:02 +06:00
parent 659a2610aa
commit 77b36f45f2
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ public:
static bool cursor_drag;
static bool _cursor_locked;
static std::vector<uint> codepoints;
static std::vector<int> pressedKeys;
static std::vector<keycode> pressedKeys;
static std::unordered_map<std::string, Binding> bindings;
static void pollEvents();