Relax constructor for IntrusiveRefCntPtr to not be explicit.
authorTed Kremenek <kremenek@apple.com>
Tue, 31 Jan 2012 00:57:08 +0000 (00:57 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 31 Jan 2012 00:57:08 +0000 (00:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149309 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/IntrusiveRefCntPtr.h

index b5b7a5106de77539f3e117f412d3608f64ffbb68..eae40c829efdec73d98307b0b9fca3840232ff0b 100644 (file)
@@ -115,7 +115,7 @@ namespace llvm {
 
     explicit IntrusiveRefCntPtr() : Obj(0) {}
 
-    explicit IntrusiveRefCntPtr(T* obj) : Obj(obj) {
+    IntrusiveRefCntPtr(T* obj) : Obj(obj) {
       retain();
     }