mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-04 14:09:47 +03:00
* Remove insert_or_assign dependency.
The `insert_or_assign` method was introduced in C++17. We try to steer clear of anything C++11 or newer, because we want to support platforms whose toolchains aren't up to date and don't implement C++11. :)
This commit is contained in:
@@ -124,7 +124,7 @@ Node* PathFinder::getNode(int x, int y, int z)
|
||||
|
||||
Node* pNode = new_Node(x, y, z);
|
||||
dword_1CD868++;
|
||||
m_nodeMap.insert_or_assign(MakeNodeHash(x, y, z), pNode);
|
||||
m_nodeMap[MakeNodeHash(x, y, z)] = pNode;
|
||||
|
||||
return pNode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user