From 213f947d0907858cace470736c15f87caa934591 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 14 Nov 2024 17:01:10 +0100 Subject: fix resource manager --- src/crepe/api/Asset.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/crepe/api/Asset.h') 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 +#include namespace crepe { @@ -41,3 +42,12 @@ private: }; } // namespace crepe + +namespace std { + +template<> struct hash { + size_t operator()(const crepe::Asset & asset) const noexcept; +}; + +} + -- cgit v1.2.3