diff --git a/include/utils/RefBase.h b/include/utils/RefBase.h index 4a418301b..c0be59757 100644 --- a/include/utils/RefBase.h +++ b/include/utils/RefBase.h @@ -120,6 +120,7 @@ public: // used to override the RefBase destruction. class Destroyer { friend class RefBase; + friend class weakref_type; public: virtual ~Destroyer(); private: