diff options
Diffstat (limited to 'src/World/ChunkIndex.hpp')
| -rw-r--r-- | src/World/ChunkIndex.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/World/ChunkIndex.hpp b/src/World/ChunkIndex.hpp index 4701581..ef61f24 100644 --- a/src/World/ChunkIndex.hpp +++ b/src/World/ChunkIndex.hpp @@ -1,8 +1,6 @@ #pragma once #include <cstdint> -#include <cstdlib> -#include <functional> namespace MC::World { @@ -27,6 +25,6 @@ template<> struct std::equal_to<MC::World::ChunkIndex> { template<> struct std::hash<MC::World::ChunkIndex> { size_t operator()(const MC::World::ChunkIndex& i) const noexcept { - return ((int64_t)i.x << 32) | i.y; + return (int64_t)i.x << 32 | i.y; } }; \ No newline at end of file |
