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

Merge pull request #82797 from RandomShaper/fix_rbmap

Fix `RBMap`'s, iterator-based, `remove()`
This commit is contained in:
Rémi Verschelde
2023-10-16 20:16:16 +02:00
committed by GitHub

View File

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