freebsd-ports/graphics/nurbs++/files/patch-matrix_matrix_int.cpp
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

43 lines
886 B
C++

--- 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 ;