[Scummvm-git-logs] scummvm master -> 6e16abd7ccd0015a2bdc7b66e9d62415aedc0e97

orgads noreply at scummvm.org
Thu May 29 20:10:29 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
6e16abd7cc COMMON: Fix initialization order for SeekableReadStreamEndianWrapper


Commit: 6e16abd7ccd0015a2bdc7b66e9d62415aedc0e97
    https://github.com/scummvm/scummvm/commit/6e16abd7ccd0015a2bdc7b66e9d62415aedc0e97
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2025-05-29T23:10:15+03:00

Commit Message:
COMMON: Fix initialization order for SeekableReadStreamEndianWrapper

Changed paths:
    common/stream.h


diff --git a/common/stream.h b/common/stream.h
index 39563a852ce..b7fbf85e526 100644
--- a/common/stream.h
+++ b/common/stream.h
@@ -964,9 +964,9 @@ protected:
 
 public:
 	SeekableReadStreamEndianWrapper(SeekableReadStream *parentStream, bool bigEndian, DisposeAfterUse::Flag disposeParentStream = DisposeAfterUse::NO)
-		: _parentStream(parentStream, disposeParentStream),
-		  SeekableReadStreamEndian(bigEndian),
-		  ReadStreamEndian(bigEndian) {
+		: SeekableReadStreamEndian(bigEndian),
+		  ReadStreamEndian(bigEndian),
+		  _parentStream(parentStream, disposeParentStream) {
 		assert(parentStream);
 	}
 




More information about the Scummvm-git-logs mailing list