freebsd-ports/graphics/nurbs++/files/patch-list.h
Pav Lucistnik 95465b01db - Unbreak on 5.X and above: fix compile with gcc34
PR:		ports/106117
Submitted by:	Peter Johnson <johnson.peter@gmail.com>
2006-12-01 09:55:32 +00:00

10 lines
327 B
C++

--- matrix/list.h.orig Mon May 13 14:07:45 2002
+++ matrix/list.h Fri Dec 1 00:21:47 2006
@@ -89,6 +89,7 @@
int resetMode() const { return reset_mode ; }
void setResetMode(ListResetMode a ) { reset_mode = a ; }
+ BasicList<T> const &by_ref() { return *this ; }
protected:
BasicNode<T> *first_,*last_ ;
int n ;