diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-01-31 00:57:08 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-01-31 00:57:08 +0000 |
commit | 97cf71a5179bc4167a750deb09836ae4a75389cb (patch) | |
tree | 9f80f4d5ad370e61e7c959955550c28e26c4a324 | |
parent | 0004d86704f5c116e43bb6f867d3eba7423640e5 (diff) | |
download | external_llvm-97cf71a5179bc4167a750deb09836ae4a75389cb.zip external_llvm-97cf71a5179bc4167a750deb09836ae4a75389cb.tar.gz external_llvm-97cf71a5179bc4167a750deb09836ae4a75389cb.tar.bz2 |
Relax constructor for IntrusiveRefCntPtr to not be explicit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149309 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/ADT/IntrusiveRefCntPtr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/IntrusiveRefCntPtr.h b/include/llvm/ADT/IntrusiveRefCntPtr.h index b5b7a51..eae40c8 100644 --- a/include/llvm/ADT/IntrusiveRefCntPtr.h +++ b/include/llvm/ADT/IntrusiveRefCntPtr.h @@ -115,7 +115,7 @@ namespace llvm { explicit IntrusiveRefCntPtr() : Obj(0) {} - explicit IntrusiveRefCntPtr(T* obj) : Obj(obj) { + IntrusiveRefCntPtr(T* obj) : Obj(obj) { retain(); } |