diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-06-07 12:52:14 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-06-07 13:53:59 +0200 |
commit | f44d123ba8ca14c3df90afff85a0674a4463cfa2 (patch) | |
tree | d017fd5b9dd4f98b7b52b8262d1bf21f568fca10 /src/Mobs | |
parent | Use emplace to construct structures (diff) | |
download | cuberite-f44d123ba8ca14c3df90afff85a0674a4463cfa2.tar cuberite-f44d123ba8ca14c3df90afff85a0674a4463cfa2.tar.gz cuberite-f44d123ba8ca14c3df90afff85a0674a4463cfa2.tar.bz2 cuberite-f44d123ba8ca14c3df90afff85a0674a4463cfa2.tar.lz cuberite-f44d123ba8ca14c3df90afff85a0674a4463cfa2.tar.xz cuberite-f44d123ba8ca14c3df90afff85a0674a4463cfa2.tar.zst cuberite-f44d123ba8ca14c3df90afff85a0674a4463cfa2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Path.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Path.h b/src/Mobs/Path.h index 491165795..d4ad066e3 100644 --- a/src/Mobs/Path.h +++ b/src/Mobs/Path.h @@ -145,7 +145,7 @@ private: /* Pathfinding fields */ std::priority_queue<cPathCell *, std::vector<cPathCell *>, compareHeuristics> m_OpenList; - std::unordered_map<Vector3i, cPathCell, Vector3i> m_Map; + std::unordered_map<Vector3i, cPathCell, VectorHasher<int>> m_Map; Vector3i m_Destination; Vector3i m_Source; int m_BoundingBoxWidth; |