aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/memstream.h2
-rw-r--r--common/stream.h2
-rw-r--r--common/substream.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/common/memstream.h b/common/memstream.h
index d6a55c3b75..13b8e26e8a 100644
--- a/common/memstream.h
+++ b/common/memstream.h
@@ -81,7 +81,7 @@ public:
*/
class MemoryReadStreamEndian : public MemoryReadStream, public ReadStreamEndian {
public:
- MemoryReadStreamEndian(const byte *buf, uint32 len, bool bigEndian = false)
+ MemoryReadStreamEndian(const byte *buf, uint32 len, bool bigEndian)
: MemoryReadStream(buf, len), ReadStreamEndian(bigEndian) {}
};
diff --git a/common/stream.h b/common/stream.h
index 141e37529c..99dcd8fa6e 100644
--- a/common/stream.h
+++ b/common/stream.h
@@ -398,7 +398,7 @@ private:
const bool _bigEndian;
public:
- ReadStreamEndian(bool bigEndian = false) : _bigEndian(bigEndian) {}
+ ReadStreamEndian(bool bigEndian) : _bigEndian(bigEndian) {}
uint16 readUint16() {
uint16 val;
diff --git a/common/substream.h b/common/substream.h
index 8c9c56165e..dc49ce9ecf 100644
--- a/common/substream.h
+++ b/common/substream.h
@@ -95,7 +95,7 @@ public:
*/
class SeekableSubReadStreamEndian : public SeekableSubReadStream, public ReadStreamEndian {
public:
- SeekableSubReadStreamEndian(SeekableReadStream *parentStream, uint32 begin, uint32 end, bool bigEndian = false, DisposeAfterUse::Flag disposeParentStream = DisposeAfterUse::NO)
+ SeekableSubReadStreamEndian(SeekableReadStream *parentStream, uint32 begin, uint32 end, bool bigEndian, DisposeAfterUse::Flag disposeParentStream = DisposeAfterUse::NO)
: SeekableSubReadStream(parentStream, begin, end, disposeParentStream),
ReadStreamEndian(bigEndian) {
}