blob: 0c763287fc6ea121a89c5a10a9c533bf67180d11 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- cvmsh2.cpp.orig Tue Jun 2 13:21:43 1998
+++ cvmsh2.cpp Fri Dec 19 10:55:43 2003
@@ -16,7 +16,7 @@
#include <stdio.h>
#include <string.h>
#include <setjmp.h>
-#include <new.h>
+#include <new>
#include <assert.h>
#include "Meshio.h"
#include "Mesh2.h"
@@ -42,7 +42,7 @@
}
-void MeshErrorIO(ios& )
+void MeshErrorIO(std::ios& )
{
MeshError(999);
exit(1);
@@ -94,7 +94,7 @@
return 1;
}
MeshIstreamErrorHandler = MeshErrorIO;
- set_new_handler( &NewHandler);
+ std::set_new_handler( &NewHandler);
#ifdef DRAWING
initgraphique();
initgraph=1;
|