aboutsummaryrefslogtreecommitdiff
path: root/core/ordered_hash_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/ordered_hash_map.h')
-rw-r--r--core/ordered_hash_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ordered_hash_map.h b/core/ordered_hash_map.h
index 9e95f963e..62eeedb43 100644
--- a/core/ordered_hash_map.h
+++ b/core/ordered_hash_map.h
@@ -181,7 +181,7 @@ public:
};
ConstElement find(const K &p_key) const {
- typename InternalList::Element **list_element = map.getptr(p_key);
+ typename InternalList::Element *const *list_element = map.getptr(p_key);
if (list_element) {
return ConstElement(*list_element);
}