SCons: Add enum conversion warning

This commit is contained in:
Thaddeus Crews
2025-04-26 10:05:07 -05:00
parent e37c6261ea
commit dc9c34f0c6
14 changed files with 67 additions and 77 deletions

View File

@ -48,9 +48,7 @@ class BaseButton;
class GridMapEditor : public VBoxContainer {
GDCLASS(GridMapEditor, VBoxContainer);
enum {
GRID_CURSOR_SIZE = 50
};
static constexpr int32_t GRID_CURSOR_SIZE = 50;
enum InputAction {
INPUT_NONE,