From 56cf054a3552787ced2585c50c159408918186ea Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Mon, 16 May 2011 12:42:22 +0000 Subject: [PATCH] Remove redundant template partial specilization. llvm-svn: 131402 --- llvm/include/llvm/ADT/FoldingSet.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/llvm/include/llvm/ADT/FoldingSet.h b/llvm/include/llvm/ADT/FoldingSet.h index 52e043430f2a..d2e0b8f91b2c 100644 --- a/llvm/include/llvm/ADT/FoldingSet.h +++ b/llvm/include/llvm/ADT/FoldingSet.h @@ -671,17 +671,10 @@ public: // Partial specializations of FoldingSetTrait. template struct FoldingSetTrait { - static inline void Profile(const T *X, FoldingSetNodeID &ID) { + static inline void Profile(T *X, FoldingSetNodeID &ID) { ID.AddPointer(X); } }; - -template struct FoldingSetTrait { - static inline void Profile(const T *X, FoldingSetNodeID &ID) { - ID.AddPointer(X); - } -}; - } // End of namespace llvm. #endif