mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-09 20:39:37 +01:00
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:
parent
b4dcb3996b
commit
309055ce7f
@ -236,7 +236,7 @@ public:
|
|||||||
return false;
|
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;
|
uint32_t pos = 0;
|
||||||
bool exists = _lookup_pos(p_key, pos);
|
bool exists = _lookup_pos(p_key, pos);
|
||||||
|
|
||||||
@ -247,7 +247,7 @@ public:
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
TValue *lookup_ptr(const TKey &p_key) {
|
TValue *lookup_ptr(const TKey &p_key) const {
|
||||||
uint32_t pos = 0;
|
uint32_t pos = 0;
|
||||||
bool exists = _lookup_pos(p_key, pos);
|
bool exists = _lookup_pos(p_key, pos);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user