aboutsummaryrefslogtreecommitdiff
path: root/common/stream.h
diff options
context:
space:
mode:
authorNicola Mettifogo2008-07-30 15:01:15 +0000
committerNicola Mettifogo2008-07-30 15:01:15 +0000
commitaa2ffe047bfa6844cb0176a256fc39a34a88bde5 (patch)
tree16f9d814427cd790fc71aaa997ce75511260eca8 /common/stream.h
parent81cb4931582f5839cca2958a634525ffb81a1714 (diff)
downloadscummvm-rg350-aa2ffe047bfa6844cb0176a256fc39a34a88bde5.tar.gz
scummvm-rg350-aa2ffe047bfa6844cb0176a256fc39a34a88bde5.tar.bz2
scummvm-rg350-aa2ffe047bfa6844cb0176a256fc39a34a88bde5.zip
Reordered initialization order to kill a ton of warnings.
svn-id: r33452
Diffstat (limited to 'common/stream.h')
-rw-r--r--common/stream.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/stream.h b/common/stream.h
index c19db3a9a5..d07579c2d1 100644
--- a/common/stream.h
+++ b/common/stream.h
@@ -356,9 +356,9 @@ protected:
public:
SubReadStream(ReadStream *parentStream, uint32 end, bool disposeParentStream = false)
: _parentStream(parentStream),
+ _disposeParentStream(disposeParentStream),
_pos(0),
- _end(end),
- _disposeParentStream(disposeParentStream) {
+ _end(end) {
assert(parentStream);
}
~SubReadStream() {
@@ -558,9 +558,9 @@ public:
uint32 size() const { return _bufSize; }
};
-/**
+/**
* A sort of hybrid between MemoryWriteStream and Array classes. A stream
- * that grows as it's written to.
+ * that grows as it's written to.
*/
class MemoryWriteStreamDynamic : public Common::WriteStream {
private: