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