Try to fix GCC error

This commit is contained in:
Jérôme Leclercq
2022-03-15 08:57:16 +01:00
parent c496944b37
commit 9b1d8b5fcf
4 changed files with 4 additions and 4 deletions

View File

@@ -388,7 +388,7 @@ namespace Nz
* \param key Key, has to exist in map
*/
template<typename K, typename V>
const V& Retrieve(const std::unordered_map<K, V>& map, const K& key)
const V& RetrieveConst(const std::unordered_map<K, V>& map, const K& key)
{
auto it = map.find(key);
assert(it != map.end());