aboutsummaryrefslogtreecommitdiff
path: root/graphics/nurbs++/files/patch-matrix_matrix_int.cpp
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2015-10-21 16:34:23 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2015-10-21 16:34:23 +0000
commit25f100a96eb494b028046e8856f583888842f9f7 (patch)
tree653c1822c740431dbf2afd09e9441b12a77e717e /graphics/nurbs++/files/patch-matrix_matrix_int.cpp
parent5d1c0a21d38777346b83cb86f6f45ebc8357f371 (diff)
Notes
Diffstat (limited to 'graphics/nurbs++/files/patch-matrix_matrix_int.cpp')
-rw-r--r--graphics/nurbs++/files/patch-matrix_matrix_int.cpp43
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 ;