aboutsummaryrefslogtreecommitdiff
path: root/common/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/stream.h')
-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; }