From: Ted Kremenek Date: Tue, 31 Jan 2012 00:57:08 +0000 (+0000) Subject: Relax constructor for IntrusiveRefCntPtr to not be explicit. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=97cf71a5179bc4167a750deb09836ae4a75389cb;p=oota-llvm.git 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 --- diff --git a/include/llvm/ADT/IntrusiveRefCntPtr.h b/include/llvm/ADT/IntrusiveRefCntPtr.h index b5b7a5106de..eae40c829ef 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(); }