From 57f77bc6223a301eca8cd58f3ceacf7045a94c9b Mon Sep 17 00:00:00 2001 From: vm2mv Date: Mon, 21 Nov 2016 16:43:27 +0300 Subject: [PATCH] Foundation: fixed exceptions handling in zlib-output-streams constructors --- Foundation/include/Poco/DeflatingStream.h | 2 +- Foundation/include/Poco/InflatingStream.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Foundation/include/Poco/DeflatingStream.h b/Foundation/include/Poco/DeflatingStream.h index 2def954d3..b656163c0 100644 --- a/Foundation/include/Poco/DeflatingStream.h +++ b/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() diff --git a/Foundation/include/Poco/InflatingStream.h b/Foundation/include/Poco/InflatingStream.h index ca20cb07e..66a42b1bc 100644 --- a/Foundation/include/Poco/InflatingStream.h +++ b/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. ///