Browse Source

Merge pull request #1499 from software-security-systems/st-poco-1.7.7-fix-exception-handle-in-zlib-streams

Foundation: fixed exceptions handling in zlib-output-streams construc…
Günter Obiltschnig 9 years ago
parent
commit
daa2db3c53

+ 1 - 1
Foundation/include/Poco/DeflatingStream.h

@@ -139,7 +139,7 @@ protected:
 };
 
 
-class Foundation_API DeflatingOutputStream: public DeflatingIOS, public std::ostream
+class Foundation_API DeflatingOutputStream: public std::ostream, public DeflatingIOS
 	/// This stream compresses all data passing through it
 	/// using zlib's deflate algorithm.
 	/// After all data has been written to the stream, close()

+ 1 - 1
Foundation/include/Poco/InflatingStream.h

@@ -143,7 +143,7 @@ protected:
 };
 
 
-class Foundation_API InflatingOutputStream: public InflatingIOS, public std::ostream
+class Foundation_API InflatingOutputStream: public std::ostream, public InflatingIOS
 	/// This stream decompresses all data passing through it
 	/// using zlib's inflate algorithm.
 	///