From 544b8305d5cfcd1f1fd6373e09fb3b0ab8c65e95 Mon Sep 17 00:00:00 2001 From: scribam Date: Sun, 6 Jul 2025 17:25:53 +0200 Subject: [PATCH] input: set InputMapping::INVALID_CODE as constexpr --- core/input/mapping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;