diff options
author | Chris Lattner <sabre@nondot.org> | 2007-07-09 17:11:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-07-09 17:11:53 +0000 |
commit | 95fd3189f84de5953c75d67403e7db9acdd5005d (patch) | |
tree | c1cfd053325b48dc18b98d0fadbf91379868bb1e | |
parent | 91f0158d4d1b16b8615126b05582d421cfb14089 (diff) | |
download | external_llvm-95fd3189f84de5953c75d67403e7db9acdd5005d.tar.gz external_llvm-95fd3189f84de5953c75d67403e7db9acdd5005d.tar.bz2 external_llvm-95fd3189f84de5953c75d67403e7db9acdd5005d.zip |
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
-rw-r--r-- | include/llvm/ADT/SmallPtrSet.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/ADT/SmallPtrSet.h b/include/llvm/ADT/SmallPtrSet.h index 80c078f35b..2563982f51 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<unsigned RHSSize> const SmallPtrSet<PtrType, SmallSize> - operator=(const SmallPtrSet<PtrType, RHSSize> &RHS) { + operator=(const SmallPtrSet<PtrType, SmallSize> &RHS) { CopyFrom(RHS); return *this; } |