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(); }