SCons: Add enum conversion warning

This commit is contained in:
Thaddeus Crews 2025-04-26 10:05:07 -05:00
parent e37c6261ea
commit dc9c34f0c6
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
14 changed files with 67 additions and 77 deletions

View file

@ -78,9 +78,7 @@ public:
CURSOR_MAX
};
enum {
JOYPADS_MAX = 16,
};
static constexpr int32_t JOYPADS_MAX = 16;
typedef void (*EventDispatchFunc)(const Ref<InputEvent> &p_event);