delete xhash.h
This commit is contained in:
@ -4,7 +4,6 @@
|
||||
|
||||
#ifndef UUID_H
|
||||
#define UUID_H
|
||||
#include <xhash>
|
||||
#include "Core.h"
|
||||
|
||||
namespace Hazel
|
||||
@ -24,13 +23,14 @@ namespace Hazel
|
||||
|
||||
namespace std
|
||||
{
|
||||
template<typename T> struct hash;
|
||||
|
||||
template<>
|
||||
struct hash<Hazel::UUID>
|
||||
{
|
||||
std::size_t operator() (const Hazel::UUID& uuid) const
|
||||
{
|
||||
return hash<uint64_t>()((uint64_t)uuid);
|
||||
return (uint64_t)uuid;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user