delete xhash.h

This commit is contained in:
2025-07-09 17:54:27 +08:00
parent 6d76832c1d
commit 8436331a7a

View File

@ -4,7 +4,6 @@
#ifndef UUID_H #ifndef UUID_H
#define UUID_H #define UUID_H
#include <xhash>
#include "Core.h" #include "Core.h"
namespace Hazel namespace Hazel
@ -24,13 +23,14 @@ namespace Hazel
namespace std namespace std
{ {
template<typename T> struct hash;
template<> template<>
struct hash<Hazel::UUID> struct hash<Hazel::UUID>
{ {
std::size_t operator() (const Hazel::UUID& uuid) const std::size_t operator() (const Hazel::UUID& uuid) const
{ {
return hash<uint64_t>()((uint64_t)uuid); return (uint64_t)uuid;
} }
}; };