diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-02-15 17:39:03 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-02-15 17:39:03 +0000 |
commit | c4adc8534a0e26b7b00b4a258ea43fb0721646d3 (patch) | |
tree | 034f88b668d23255c88b42700e56e74e69349ea2 /graphics/nurbs++/files/patch-matrix_matrix_int.cpp | |
parent | 7ade77179ed800bfda14bdede104d07924dfe1c4 (diff) |
Notes
Diffstat (limited to 'graphics/nurbs++/files/patch-matrix_matrix_int.cpp')
-rw-r--r-- | graphics/nurbs++/files/patch-matrix_matrix_int.cpp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/graphics/nurbs++/files/patch-matrix_matrix_int.cpp b/graphics/nurbs++/files/patch-matrix_matrix_int.cpp new file mode 100644 index 000000000000..4a951646984e --- /dev/null +++ b/graphics/nurbs++/files/patch-matrix_matrix_int.cpp @@ -0,0 +1,43 @@ +--- matrix/matrix_int.cpp.orig 2008-02-13 22:11:44.000000000 +0100 ++++ matrix/matrix_int.cpp 2008-02-13 22:12:25.000000000 +0100 +@@ -29,11 +29,11 @@ + + namespace PLib { + +- void Matrix<int>::qSort(){ ++ template<> void Matrix<int>::qSort(){ + qsort((char*)m,rows()*cols(),sizeof(int),compareInt) ; + } + +- Matrix<int>& ++ template<> Matrix<int>& + Matrix<int>::operator*=(double a) + { + int *p1 ; +@@ -46,7 +46,7 @@ + return *this ; + } + +- Matrix<int>& ++ template<> Matrix<int>& + Matrix<int>::operator+=(double a) + { + int *p1 ; +@@ -57,7 +57,7 @@ + return *this ; + } + +- Matrix<int>& ++ template<> Matrix<int>& + Matrix<int>::operator-=(double a) + { + int *p1 ; +@@ -68,7 +68,7 @@ + return *this ; + } + +- Matrix<int>& ++ template<> Matrix<int>& + Matrix<int>::operator/=(double a) + { + int *p1 ; |