blob: b62a4ab709b6fe1b2fbe9fee0e698fdb2edc9be4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- belgolib/files.h.orig Sun Dec 15 14:54:27 2002
+++ belgolib/files.h Sun Dec 15 14:54:27 2002
@@ -1,4 +1,5 @@
#include <fstream>
+using namespace std;
#ifndef __make_dep__
#include <string> //makedepend bug
@@ -15,8 +16,8 @@
class Infile : public ifstream {
public:
Infile();
- Infile(const string &, int mode=ios::in, bool=false);
- int Open(const string &, int mode=ios::in, bool=false);
+ Infile(const string &, ios::openmode mode=ios::in, bool=false);
+ int Open(const string &, ios::openmode mode=ios::in, bool=false);
protected:
int check_open() const;
|