[llvm-commits] [llvm] r149309 - /llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h

Ted Kremenek kremenek at apple.com
Mon Jan 30 16:57:08 PST 2012


Author: kremenek
Date: Mon Jan 30 18:57:08 2012
New Revision: 149309

URL: http://llvm.org/viewvc/llvm-project?rev=149309&view=rev
Log:
Relax constructor for IntrusiveRefCntPtr to not be explicit.

Modified:
    llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h

Modified: llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h?rev=149309&r1=149308&r2=149309&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h (original)
+++ llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h Mon Jan 30 18:57:08 2012
@@ -115,7 +115,7 @@
 
     explicit IntrusiveRefCntPtr() : Obj(0) {}
 
-    explicit IntrusiveRefCntPtr(T* obj) : Obj(obj) {
+    IntrusiveRefCntPtr(T* obj) : Obj(obj) {
       retain();
     }
 





More information about the llvm-commits mailing list