Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarAssetPath.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/StarAssetPath.hpp')
-rw-r--r--source/core/StarAssetPath.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/core/StarAssetPath.hpp b/source/core/StarAssetPath.hpp
index 3ca3f60..fd77005 100644
--- a/source/core/StarAssetPath.hpp
+++ b/source/core/StarAssetPath.hpp
@@ -2,6 +2,7 @@
#define STAR_ASSET_PATH_HPP
#include "StarDirectives.hpp"
+#include "StarHash.hpp"
namespace Star {
@@ -64,6 +65,11 @@ struct AssetPath {
std::ostream& operator<<(std::ostream& os, AssetPath const& rhs);
+template <>
+struct hash<AssetPath> {
+ size_t operator()(AssetPath const& s) const;
+};
+
}
#endif \ No newline at end of file