From: Chris Lattner Date: Mon, 9 Jul 2007 17:11:53 +0000 (+0000) Subject: work around an aparent gcc name resolution bug by X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=95fd3189f84de5953c75d67403e7db9acdd5005d;p=oota-llvm.git 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 --- 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; }