freebsd-ports/graphics/nurbs++/files/patch-matrix_matrix_float.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
321 B
C++

--- matrix/matrix_float.cpp.orig 2008-02-13 22:14:25.000000000 +0100
+++ matrix/matrix_float.cpp 2008-02-13 22:14:45.000000000 +0100
@@ -27,7 +27,7 @@
namespace PLib {
- void Matrix<float>::qSort(){
+ template<> void Matrix<float>::qSort(){
qsort((char*)m,rows()*cols(),sizeof(float),compareFloat) ;
}