[llvm-commits] [llvm] r54789 - /llvm/trunk/include/llvm/ADT/ImmutableMap.h
Ted Kremenek
kremenek at apple.com
Thu Aug 14 14:17:07 PDT 2008
Author: kremenek
Date: Thu Aug 14 16:17:07 2008
New Revision: 54789
URL: http://llvm.org/viewvc/llvm-project?rev=54789&view=rev
Log:
Removed redundant ctor.
Modified:
llvm/trunk/include/llvm/ADT/ImmutableMap.h
Modified: llvm/trunk/include/llvm/ADT/ImmutableMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/ImmutableMap.h?rev=54789&r1=54788&r2=54789&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/ImmutableMap.h (original)
+++ llvm/trunk/include/llvm/ADT/ImmutableMap.h Thu Aug 14 16:17:07 2008
@@ -76,7 +76,6 @@
/// 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 {
More information about the llvm-commits
mailing list