diff options
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r-- | src/ClientHandle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h index 44261827d..bb90db777 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -413,7 +413,7 @@ private: struct sChunkCoordsHash { - auto operator()(const cChunkCoords & a_ChunkCoords) const + size_t operator()(const cChunkCoords & a_ChunkCoords) const { size_t Seed = static_cast<size_t>(a_ChunkCoords.m_ChunkX) + 0x9e3779b9; return (Seed ^= static_cast<size_t>(a_ChunkCoords.m_ChunkZ) + 0x9e3779b9 + (Seed << 6) + (Seed >> 2)); |