Renamed OAHashMap's const lookup_ptr method to lookup_ptr_const. Also added back const qualifier to the other one.

This commit is contained in:
Relintai 2022-07-26 15:33:36 +02:00
parent b4dcb3996b
commit 309055ce7f

View File

@ -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);