mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 17:34:47 +00:00
13 lines
443 B
Diff
13 lines
443 B
Diff
|
--- llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h 2014/09/23 05:23:29 218294
|
||
|
+++ llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h 2014/09/23 06:06:43 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>
|