1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/devel/stlport/files/patch-aa
Justin M. Seger ee8e25af3e Import of stlport:
STLport is an an adaptation of SGI's Standard Template Library.
The goal of the STLport effort is to make SGI's STL
implementation usable with most compilers while retaining full
functionality.

The Standard Template Library is a C++ library of container
classes, algorithms, and iterators providing many of the basic
algorithms and data structures of computer science.

PR:		ports/8939
Submitted by:	josh@quick.net
1998-12-18 03:09:05 +00:00

13 lines
453 B
Plaintext

--- stl_rope.h.orig Sun Feb 8 18:08:40 1998
+++ stl_rope.h Thu Dec 17 19:37:18 1998
@@ -776,7 +776,8 @@
__rope_iterator_base<charT,Alloc>(r.tree_ptr, pos) {}
self& operator= (const self & 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;