diff --git a/core/input/mapping.h b/core/input/mapping.h index 7ce6e246b..95d994769 100644 --- a/core/input/mapping.h +++ b/core/input/mapping.h @@ -47,7 +47,7 @@ public: }; //! Initialized and invalid value for code - static const u32 INVALID_CODE = std::numeric_limits::max(); + static constexpr u32 INVALID_CODE = std::numeric_limits::max(); //! The unique code for the set type u32 code = INVALID_CODE;