work around an aparent gcc name resolution bug by

detemplatizing this.

llvm-svn: 38461
This commit is contained in:
Chris Lattner 2007-07-09 17:11:53 +00:00
parent 97ba0c99ed
commit 39e93bf0e0

View 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;
}