mirror of
https://github.com/godotengine/godot.git
synced 2024-10-23 05:31:54 +00:00
Merge pull request #82797 from RandomShaper/fix_rbmap
Fix `RBMap`'s, iterator-based, `remove()`
This commit is contained in:
commit
3bc1c9b5e0
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user