[Scummvm-cvs-logs] SF.net SVN: scummvm:[33452] scummvm/trunk/common/stream.h

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Wed Jul 30 17:01:17 CEST 2008


Revision: 33452
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33452&view=rev
Author:   peres001
Date:     2008-07-30 15:01:15 +0000 (Wed, 30 Jul 2008)

Log Message:
-----------
Reordered initialization order to kill a ton of warnings.

Modified Paths:
--------------
    scummvm/trunk/common/stream.h

Modified: scummvm/trunk/common/stream.h
===================================================================
--- scummvm/trunk/common/stream.h	2008-07-30 15:00:11 UTC (rev 33451)
+++ scummvm/trunk/common/stream.h	2008-07-30 15:01:15 UTC (rev 33452)
@@ -356,9 +356,9 @@
 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 @@
 	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:


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list