mirror of
https://github.com/ReMinecraftPE/mcpe.git
synced 2025-01-23 01:31:57 -05: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:
parent
23444c2d83
commit
1be6479e57
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue