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:
eaa009d
)
Removed redundant ctor.
author
Ted Kremenek
<kremenek@apple.com>
Thu, 14 Aug 2008 21:17:07 +0000
(21:17 +0000)
committer
Ted Kremenek
<kremenek@apple.com>
Thu, 14 Aug 2008 21:17:07 +0000
(21:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54789
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/ImmutableMap.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/ImmutableMap.h
b/include/llvm/ADT/ImmutableMap.h
index bbf34c566d8bfaa8cff069e8c3e9af7b5c276609..ce0f698fcb8250a09095b198b868715067e512f1 100644
(file)
--- a/
include/llvm/ADT/ImmutableMap.h
+++ b/
include/llvm/ADT/ImmutableMap.h
@@
-76,7
+76,6
@@
public:
/// should use a Factory object to create maps instead of directly
/// invoking the constructor, but there are cases where make this
/// constructor public is useful.
- explicit ImmutableMap(TreeTy* R) : Root(R) {}
explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) {}
class Factory {