diff options
Diffstat (limited to 'include/llvm/ADT/SmallPtrSet.h')
-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; } |