summaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-08-14 21:17:07 +0000
committerTed Kremenek <kremenek@apple.com>2008-08-14 21:17:07 +0000
commit183cc32e49aa6641a39347075c8240cea92a6c63 (patch)
tree2f123802e086400dbae9019239174b735809b6ca /include/llvm/ADT
parenteaa009d963f0715257a26c6bf32ce6dd14326415 (diff)
downloadexternal_llvm-183cc32e49aa6641a39347075c8240cea92a6c63.zip
external_llvm-183cc32e49aa6641a39347075c8240cea92a6c63.tar.gz
external_llvm-183cc32e49aa6641a39347075c8240cea92a6c63.tar.bz2
Removed redundant ctor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r--include/llvm/ADT/ImmutableMap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/ADT/ImmutableMap.h b/include/llvm/ADT/ImmutableMap.h
index bbf34c5..ce0f698 100644
--- 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 {