From: Ted Kremenek Date: Thu, 14 Aug 2008 21:17:07 +0000 (+0000) Subject: Removed redundant ctor. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=183cc32e49aa6641a39347075c8240cea92a6c63;hp=eaa009d963f0715257a26c6bf32ce6dd14326415;p=oota-llvm.git Removed redundant ctor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54789 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/ImmutableMap.h b/include/llvm/ADT/ImmutableMap.h index bbf34c566d8..ce0f698fcb8 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(R)) {} class Factory {