1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix RBMap's, iterator-based, remove()

This commit is contained in:
Pedro J. Estébanez
2023-10-04 18:58:28 +02:00
parent a2f90d565a
commit 5c81236047

View File

@@ -96,6 +96,8 @@ public:
typedef KeyValue<K, V> ValueType; typedef KeyValue<K, V> ValueType;
struct Iterator { struct Iterator {
friend class RBMap<K, V, C, A>;
_FORCE_INLINE_ KeyValue<K, V> &operator*() const { _FORCE_INLINE_ KeyValue<K, V> &operator*() const {
return E->key_value(); return E->key_value();
} }