Revert "Try to fix GCC error"

This reverts commit 11d5eb7d6063e6cf1da276cc5981d2d57e13f05e.
This commit is contained in:
Jérôme Leclercq
2022-03-15 09:02:30 +01:00
parent 9b1d8b5fcf
commit 79a5716110
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& RetrieveConst(const std::unordered_map<K, V>& map, const K& key)
const V& Retrieve(const std::unordered_map<K, V>& map, const K& key)
{
auto it = map.find(key);
assert(it != map.end());