summaryrefslogtreecommitdiff
path: root/src/asset-manager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/asset-manager.hpp')
-rw-r--r--src/asset-manager.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/asset-manager.hpp b/src/asset-manager.hpp
index 7459fd0..001ec4f 100644
--- a/src/asset-manager.hpp
+++ b/src/asset-manager.hpp
@@ -9,7 +9,9 @@
#include <cstring>
#include <cassert>
-TypeSafeInt_H(AssetHandle, uint64_t, UINT64_MAX);
+struct AssetHandle : public PkeHandle { };
+
+constexpr AssetHandle AssetHandle_MAX = AssetHandle{};
struct Asset{
char key[16] = {'\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0'};