aboutsummaryrefslogtreecommitdiff
path: root/core/ordered_hash_map.h
diff options
context:
space:
mode:
authorKarroffel2017-11-03 14:33:19 +0100
committerKarroffel2017-11-03 14:33:19 +0100
commit38d56c8351838fce3005ab92440c4c2320d92b0f (patch)
treea6a4ae24cd389f825f019330c50f415c04cdc7c4 /core/ordered_hash_map.h
parentc880302754352dce1e44bf00bf9b1ac20e71cd1d (diff)
downloadgodot-38d56c8351838fce3005ab92440c4c2320d92b0f.tar.gz
godot-38d56c8351838fce3005ab92440c4c2320d92b0f.tar.zst
godot-38d56c8351838fce3005ab92440c4c2320d92b0f.zip
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);
}