ports/graphics/nurbs++/files/patch-vector.h
Alexey Dokuchaev 25f100a96e - Resurrect; unbreak on all supported versions of FreeBSD (and 8.X)
- Drop leading indefinite article from COMMENT text
- Stagify, convert to USES=libtool, switch to .tar.bz2 distfile
2015-10-21 16:34:23 +00:00

20 lines
769 B
C++

--- matrix/vector.h.orig Mon May 13 14:07:45 2002
+++ matrix/vector.h Thu Nov 30 23:29:02 2006
@@ -69,7 +69,7 @@
{
public:
int rows() const //!< a reference to the size of the vector
- { return sze ;}
+ { return this->sze ;}
Vector() : BasicArray<T>(1) {} //!< Basic constructor
Vector(const int r) : BasicArray<T>(r) {}
Vector(const Vector<T>& v) : BasicArray<T>(v) {}
@@ -90,7 +90,7 @@
Vector<T> get(int i, int l);
int minIndex() const ;
- T minimum() const { return operator[](minIndex()) ; } // returns the minimal value inside the vector
+ T minimum() const { return this->operator[](minIndex()) ; } // returns the minimal value inside the vector
void qSortStd() ;
void qSort(int M=7) ;