summaryrefslogtreecommitdiff
path: root/cad/simian/patches/patch-af
blob: 8c61266d7d7e3a5c50092deef8ecac53fe23a9cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-af,v 1.2 2005/11/03 19:56:36 rillig Exp $

--- src/surfer1.cc.orig	1998-12-10 10:10:46.000000000 +0000
+++ src/surfer1.cc
@@ -2,8 +2,8 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
-#include <iostream.h>
-#include <fstream.h>
+#include <iostream>
+#include <fstream>
 #include "weeks.h"
 #include "linklist.h"
 #include "nonuni.h"
@@ -19,7 +19,7 @@ Filament* surfer(Conductor* cc,Filament*
   double dum;
   l=0; u=0;
   if ((cc->lp==0)&&(sis->pc!=0)) {
-    fstream plate("plate",ios::in);
+    std::fstream plate("plate",std::ios::in);
     char *ss;
     ss=new char[100];
     do {