diff options
Diffstat (limited to 'src/common/slot_vector.h')
| -rw-r--r-- | src/common/slot_vector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/slot_vector.h b/src/common/slot_vector.h index 34ff7de941..8db4bba30b 100644 --- a/src/common/slot_vector.h +++ b/src/common/slot_vector.h @@ -17,7 +17,7 @@ namespace Common { struct SlotId { - static constexpr u32 INVALID_INDEX = std::numeric_limits<u32>::max(); + static constexpr u32 INVALID_INDEX = (std::numeric_limits<u32>::max)(); constexpr auto operator<=>(const SlotId&) const noexcept = default; |
