aboutsummaryrefslogtreecommitdiffstats
path: root/include/api-test/handle.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/api-test/handle.hpp')
-rw-r--r--include/api-test/handle.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/api-test/handle.hpp b/include/api-test/handle.hpp
index f07776b..2c52c01 100644
--- a/include/api-test/handle.hpp
+++ b/include/api-test/handle.hpp
@@ -18,7 +18,7 @@ struct handle {
[[nodiscard]] inline bool is_valid() const { return id != handle::invalid_id; }
- static constexpr uint32_t invalid_id = -1U;
+ static constexpr uint32_t invalid_id = UINT32_MAX;
// static constexpr handle<U> invalid_handle {};
};