Index: include/llvm/ADT/IntrusiveRefCntPtr.h | |
=================================================================== | |
--- include/llvm/ADT/IntrusiveRefCntPtr.h (revision 218294) | |
+++ include/llvm/ADT/IntrusiveRefCntPtr.h (revision 218295) | |
@@ -197,6 +197,9 @@ | |
private: | |
void retain() { if (Obj) IntrusiveRefCntPtrInfo<T>::retain(Obj); } | |
void release() { if (Obj) IntrusiveRefCntPtrInfo<T>::release(Obj); } | |
+ | |
+ template <typename X> | |
+ friend class IntrusiveRefCntPtr; | |
}; | |
template<class T, class U> |