delete xhash.h
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user