aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-01-31 00:57:08 +0000
committerTed Kremenek <kremenek@apple.com>2012-01-31 00:57:08 +0000
commit97cf71a5179bc4167a750deb09836ae4a75389cb (patch)
tree9f80f4d5ad370e61e7c959955550c28e26c4a324
parent0004d86704f5c116e43bb6f867d3eba7423640e5 (diff)
downloadexternal_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.h2
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();
}