aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBertrand Augereau2004-07-19 10:20:00 +0000
committerBertrand Augereau2004-07-19 10:20:00 +0000
commit52701d581b1033afdc068f664fdc97b95487f789 (patch)
tree0fc178ca33fd846b5ba32831938fae29fea5ae4b /common
parentdc9963ec976f888d6691159e021651973b83fb01 (diff)
downloadscummvm-rg350-52701d581b1033afdc068f664fdc97b95487f789.tar.gz
scummvm-rg350-52701d581b1033afdc068f664fdc97b95487f789.tar.bz2
scummvm-rg350-52701d581b1033afdc068f664fdc97b95487f789.zip
Changed order of initialisation in XORReadStream::XORReadStream() to match order of declaration, to avoid a pedantic warning
svn-id: r14273
Diffstat (limited to 'common')
-rw-r--r--common/stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stream.h b/common/stream.h
index 43ff55b2e4..660fb0a02b 100644
--- a/common/stream.h
+++ b/common/stream.h
@@ -95,7 +95,7 @@ private:
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; }