work around an aparent gcc name resolution bug by
authorChris Lattner <sabre@nondot.org>
Mon, 9 Jul 2007 17:11:53 +0000 (17:11 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 9 Jul 2007 17:11:53 +0000 (17:11 +0000)
detemplatizing this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38461 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/SmallPtrSet.h

index 80c078f35bd197494f6d65be0590d85f030cc89a..2563982f514b21d1924ecd721b1aa4dc96a2fe6a 100644 (file)
@@ -240,9 +240,8 @@ public:
   
   // Allow assignment from any smallptrset with the same element type even if it
   // doesn't have the same smallsize.
-  template<unsigned RHSSize>
   const SmallPtrSet<PtrType, SmallSize>
-  operator=(const SmallPtrSet<PtrType, RHSSize> &RHS) {
+  operator=(const SmallPtrSet<PtrType, SmallSize> &RHS) {
     CopyFrom(RHS);
     return *this;
   }