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
This commit is contained in:
Chris Lattner 2007-07-09 17:11:53 +00:00
parent 91f0158d4d
commit 95fd3189f8

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