diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-14 17:01:10 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-14 17:01:10 +0100 |
commit | 213f947d0907858cace470736c15f87caa934591 (patch) | |
tree | 2d15878761eefb84e5ccdfa75a91646d9fab4aa2 /src/crepe/api/Asset.h | |
parent | 431b0bd7c6c502b42bb5be5488371d8c475e7024 (diff) |
fix resource manager
Diffstat (limited to 'src/crepe/api/Asset.h')
-rw-r--r-- | src/crepe/api/Asset.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/crepe/api/Asset.h b/src/crepe/api/Asset.h index f6e6782..0f6b0b3 100644 --- a/src/crepe/api/Asset.h +++ b/src/crepe/api/Asset.h @@ -1,6 +1,7 @@ #pragma once #include <string> +#include <unordered_map> namespace crepe { @@ -41,3 +42,12 @@ private: }; } // namespace crepe + +namespace std { + +template<> struct hash<const crepe::Asset> { + size_t operator()(const crepe::Asset & asset) const noexcept; +}; + +} + |