projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r3851: *** empty log message ***
[ctsim.git]
/
include
/
fnetorderstream.h
diff --git
a/include/fnetorderstream.h
b/include/fnetorderstream.h
index f58550b32923a76944141e1ae48af764ba93fced..bb084b15e5c65148d11c5867dfabbb9f36784cb0 100644
(file)
--- a/
include/fnetorderstream.h
+++ b/
include/fnetorderstream.h
@@
-9,7
+9,7
@@
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: fnetorderstream.h,v 1.
9 2001/03/13 04:44:25
kevin Exp $
+** $Id: fnetorderstream.h,v 1.
11 2002/05/30 06:18:11
kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
@@
-118,7
+118,7
@@
void ConvertReverseNetworkOrder (void* buffer, size_t bytes);
using std::fstream;
class fnetorderstream : public fstream {
public:
using std::fstream;
class fnetorderstream : public fstream {
public:
- fnetorderstream (const char* filename,
int
mode)
+ fnetorderstream (const char* filename,
std::ios::openmode
mode)
: fstream (filename, mode) {}
~fnetorderstream (void)
: fstream (filename, mode) {}
~fnetorderstream (void)
@@
-138,7
+138,7
@@
class fnetorderstream : public fstream {
class frnetorderstream : public fnetorderstream {
public:
class frnetorderstream : public fnetorderstream {
public:
- frnetorderstream (const char* filename,
int
mode)
+ frnetorderstream (const char* filename,
std::ios::openmode
mode)
: fnetorderstream (filename, mode) {}
virtual void writeInt16 (kuint16 n);
: fnetorderstream (filename, mode) {}
virtual void writeInt16 (kuint16 n);