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.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/api-test/handle.hpp b/include/api-test/handle.hpp
index c14e212..2355191 100644
--- a/include/api-test/handle.hpp
+++ b/include/api-test/handle.hpp
@@ -4,5 +4,7 @@
template<typename T>
struct handle {
- const uint32_t id;
+ uint32_t id = handle::invalid_handle;
+
+ static constexpr uint32_t invalid_handle = -1;
};