input: set InputMapping::INVALID_CODE as constexpr

This commit is contained in:
scribam 2025-07-06 17:25:53 +02:00
parent 5df5c70994
commit 544b8305d5
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public:
};
//! Initialized and invalid value for code
static const u32 INVALID_CODE = std::numeric_limits<u32>::max();
static constexpr u32 INVALID_CODE = std::numeric_limits<u32>::max();
//! The unique code for the set type
u32 code = INVALID_CODE;