From 95fd3189f84de5953c75d67403e7db9acdd5005d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 9 Jul 2007 17:11:53 +0000 Subject: [PATCH] work around an aparent gcc name resolution bug by detemplatizing this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38461 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/SmallPtrSet.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/llvm/ADT/SmallPtrSet.h b/include/llvm/ADT/SmallPtrSet.h index 80c078f35bd..2563982f514 100644 --- a/include/llvm/ADT/SmallPtrSet.h +++ b/include/llvm/ADT/SmallPtrSet.h @@ -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 const SmallPtrSet - operator=(const SmallPtrSet &RHS) { + operator=(const SmallPtrSet &RHS) { CopyFrom(RHS); return *this; }