[llvm-commits] [llvm] r38461 - /llvm/trunk/include/llvm/ADT/SmallPtrSet.h
Chris Lattner
sabre at nondot.org
Mon Jul 9 10:11:54 PDT 2007
Author: lattner
Date: Mon Jul 9 12:11:53 2007
New Revision: 38461
URL: http://llvm.org/viewvc/llvm-project?rev=38461&view=rev
Log:
work around an aparent gcc name resolution bug by
detemplatizing this.
Modified:
llvm/trunk/include/llvm/ADT/SmallPtrSet.h
Modified: llvm/trunk/include/llvm/ADT/SmallPtrSet.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/SmallPtrSet.h?rev=38461&r1=38460&r2=38461&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/SmallPtrSet.h (original)
+++ llvm/trunk/include/llvm/ADT/SmallPtrSet.h Mon Jul 9 12:11:53 2007
@@ -240,9 +240,8 @@
// 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;
}
More information about the llvm-commits
mailing list