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