diff --git a/core/oa_hash_map.h b/core/oa_hash_map.h index 360d88f9e..645df147a 100644 --- a/core/oa_hash_map.h +++ b/core/oa_hash_map.h @@ -236,7 +236,7 @@ public: return false; } - const TValue *lookup_ptr(const TKey &p_key) const { + const TValue *lookup_ptr_const(const TKey &p_key) const { uint32_t pos = 0; bool exists = _lookup_pos(p_key, pos); @@ -247,7 +247,7 @@ public: return nullptr; } - TValue *lookup_ptr(const TKey &p_key) { + TValue *lookup_ptr(const TKey &p_key) const { uint32_t pos = 0; bool exists = _lookup_pos(p_key, pos);