[Scummvm-cvs-logs] CVS: scummvm/common stream.h,1.7,1.8
Bertrand Augereau
tramboi at users.sourceforge.net
Mon Jul 19 03:22:31 CEST 2004
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv919/common
Modified Files:
stream.h
Log Message:
Changed order of initialisation in XORReadStream::XORReadStream() to match order of declaration, to avoid a pedantic warning
Index: stream.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/stream.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- stream.h 27 Jun 2004 21:30:31 -0000 1.7
+++ stream.h 19 Jul 2004 10:20:00 -0000 1.8
@@ -95,7 +95,7 @@
byte _encbyte;
ReadStream *_realStream;
public:
- XORReadStream(ReadStream *in = 0, byte enc = 0) : _realStream(in), _encbyte(enc) {}
+ XORReadStream(ReadStream *in = 0, byte enc = 0) : _encbyte(enc), _realStream(in) {}
void setStream(ReadStream *in) { _realStream = in; }
void setEnc(byte value) { _encbyte = value; }
More information about the Scummvm-git-logs
mailing list