mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
16 lines
495 B
Diff
16 lines
495 B
Diff
|
diff --git a/include/llvm/ADT/IntrusiveRefCntPtr.h b/include/llvm/ADT/IntrusiveRefCntPtr.h
|
||
|
index f9df378..9d860ec 100644
|
||
|
--- a/include/llvm/ADT/IntrusiveRefCntPtr.h
|
||
|
+++ b/include/llvm/ADT/IntrusiveRefCntPtr.h
|
||
|
@@ -134,9 +134,9 @@ public:
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
template <typename T>
|
||
|
class IntrusiveRefCntPtr {
|
||
|
+ public:
|
||
|
T* Obj;
|
||
|
|
||
|
- public:
|
||
|
typedef T element_type;
|
||
|
|
||
|
explicit IntrusiveRefCntPtr() : Obj(nullptr) {}
|