From 5c81236047590133a37770a16d2b8875e079decc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Wed, 4 Oct 2023 18:58:28 +0200 Subject: [PATCH] Fix RBMap's, iterator-based, remove() --- core/templates/rb_map.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/templates/rb_map.h b/core/templates/rb_map.h index 0a33809bb2b..d3737136691 100644 --- a/core/templates/rb_map.h +++ b/core/templates/rb_map.h @@ -96,6 +96,8 @@ public: typedef KeyValue ValueType; struct Iterator { + friend class RBMap; + _FORCE_INLINE_ KeyValue &operator*() const { return E->key_value(); }