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