diff options
| author | Ted Kremenek <kremenek@apple.com> | 2012-01-31 00:57:08 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2012-01-31 00:57:08 +0000 |
| commit | addeca4437d9b0200a620fe8c3ded39c7f59dc14 (patch) | |
| tree | f33813e4f83b3ed9bda2b14d3c5c1eb6c84690ca | |
| parent | b8f570db7c505bb9b567eea850a9aa86ef1c73fa (diff) | |
| download | bcm5719-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.h | 2 |
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(); } |

