freebsd-ports/graphics/nurbs++/files/patch-matrix_matrix_double.cpp
Martin Wilke c4adc8534a - Fix build with gcc 4.2
- Pass maintainership to submitter

PR:		120626
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
2008-02-15 17:39:03 +00:00

11 lines
327 B
C++

--- matrix/matrix_double.cpp.orig 2008-02-13 22:16:31.000000000 +0100
+++ matrix/matrix_double.cpp 2008-02-13 22:16:45.000000000 +0100
@@ -27,7 +27,7 @@
namespace PLib {
- void Matrix<double>::qSort(){
+ template<> void Matrix<double>::qSort(){
qsort((char*)m,rows()*cols(),sizeof(double),compareDouble) ;
}