figin another MacOS compilation error

This commit is contained in:
Kbz-8
2024-01-07 01:45:12 +01:00
parent 765a04d9b5
commit f5c581d89c

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */ /* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/06 11:13:23 by maldavid #+# #+# */ /* Created: 2024/01/06 11:13:23 by maldavid #+# #+# */
/* Updated: 2024/01/07 01:39:35 by maldavid ### ########.fr */ /* Updated: 2024/01/07 01:44:21 by maldavid ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@@ -14,7 +14,6 @@
#define __MLX_UUID__ #define __MLX_UUID__
#include <cstdint> #include <cstdint>
#include <cstddef>
namespace mlx namespace mlx
{ {
@@ -31,19 +30,4 @@ namespace mlx
}; };
} }
namespace std
{
template <typename T> struct hash;
template<>
struct hash<mlx::UUID>
{
std::size_t operator()(const mlx::UUID& uuid) const
{
return static_cast<uint64_t>(uuid);
}
};
}
#endif #endif