projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91f0158
)
work around an aparent gcc name resolution bug by
author
Chris Lattner
<sabre@nondot.org>
Mon, 9 Jul 2007 17:11:53 +0000
(17:11 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 9 Jul 2007 17:11:53 +0000
(17:11 +0000)
detemplatizing this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38461
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/SmallPtrSet.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/SmallPtrSet.h
b/include/llvm/ADT/SmallPtrSet.h
index 80c078f35bd197494f6d65be0590d85f030cc89a..2563982f514b21d1924ecd721b1aa4dc96a2fe6a 100644
(file)
--- 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,
RHS
Size> &RHS) {
+ operator=(const SmallPtrSet<PtrType,
Small
Size> &RHS) {
CopyFrom(RHS);
return *this;
}