projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0004d86
)
Relax constructor for IntrusiveRefCntPtr to not be explicit.
author
Ted Kremenek
<kremenek@apple.com>
Tue, 31 Jan 2012 00:57:08 +0000
(
00:57
+0000)
committer
Ted Kremenek
<kremenek@apple.com>
Tue, 31 Jan 2012 00:57:08 +0000
(
00:57
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149309
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/IntrusiveRefCntPtr.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/IntrusiveRefCntPtr.h
b/include/llvm/ADT/IntrusiveRefCntPtr.h
index b5b7a5106de77539f3e117f412d3608f64ffbb68..eae40c829efdec73d98307b0b9fca3840232ff0b 100644
(file)
--- 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();
}