1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/math/kaskade/files/patch-sources_matrix.h
Thierry Thomas 777026ca2d Unbreak with gcc 3.4.
Approved by:	portmgr (marcus)
2005-08-17 05:22:58 +00:00

36 lines
799 B
C++

--- ./sources/matrix.h.orig Fri Dec 10 15:20:13 1999
+++ ./sources/matrix.h Tue Aug 16 22:41:02 2005
@@ -13,21 +13,22 @@
//-------------------------------------------------------------------------
#include <stdio.h>
-#include <iostream.h>
+#include <iostream>
+using namespace std;
template<class T>
-
-class Matrix
-{
- public:
- T** row;
- int rl, rh, cl, ch;
-
- Matrix (int rl1, int rh1, int cl1, int ch1)
+class Matrix
+{
+ public:
+
+ T** row;
+ int rl, rh, cl, ch;
+
+ Matrix (int rl1, int rh1, int cl1, int ch1)
{ allocate (rl1,rh1,cl1,ch1); }
- Matrix (int nr1, int nc1) { allocate (1, nr1, 1, nc1); }
+ Matrix (int nr1, int nc1) { allocate (1, nr1, 1, nc1); }
~Matrix();