summaryrefslogtreecommitdiffstats
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
commitaddeca4437d9b0200a620fe8c3ded39c7f59dc14 (patch)
treef33813e4f83b3ed9bda2b14d3c5c1eb6c84690ca
parentb8f570db7c505bb9b567eea850a9aa86ef1c73fa (diff)
downloadbcm5719-llvm-addeca4437d9b0200a620fe8c3ded39c7f59dc14.tar.gz
bcm5719-llvm-addeca4437d9b0200a620fe8c3ded39c7f59dc14.zip
Relax constructor for IntrusiveRefCntPtr to not be explicit.
llvm-svn: 149309
-rw-r--r--llvm/include/llvm/ADT/IntrusiveRefCntPtr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h b/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
index b5b7a5106de..eae40c829ef 100644
--- a/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h
+++ b/llvm/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();
}
OpenPOWER on IntegriCloud