aboutsummaryrefslogtreecommitdiff
path: root/lang/egcs/files/patch-am
blob: f69f6ffa7798d8dc09f851d1d3f5c9e71424ceb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- libstdc++/stl/stl_rope.h.orig	Fri Feb 20 03:13:44 1998
+++ libstdc++/stl/stl_rope.h	Sun Feb 28 03:50:24 1999
@@ -702,7 +702,8 @@
 	__rope_iterator_base<charT,Alloc>(r.tree_ptr, pos) {}
     __rope_const_iterator& operator= (const __rope_const_iterator & x) {
 	if (0 != x.buf_ptr) {
-	    *this = x;
+	    *(static_cast<__rope_iterator_base<charT,Alloc>*>(this)) = x; 
+	    // bugfix by Kevin Atkinosn (kevina@clark.net) was *this = x;
 	} else {
 	    current_pos = x.current_pos;
 	    root = x.root;