From bde50b1be81aaa2698998c75313970a4ee055bb9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 4 Jan 2017 10:33:24 +0100 Subject: [PATCH] fs/io/{GunzipReader,GzipOutputStream: remove deprepcated dynamic exception specifications --- src/fs/io/GunzipReader.cxx | 3 ++- src/fs/io/GunzipReader.hxx | 3 +-- src/fs/io/GzipOutputStream.cxx | 2 +- src/fs/io/GzipOutputStream.hxx | 3 +-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/fs/io/GunzipReader.cxx b/src/fs/io/GunzipReader.cxx index b5d43cab7..489a11353 100644 --- a/src/fs/io/GunzipReader.cxx +++ b/src/fs/io/GunzipReader.cxx @@ -19,8 +19,9 @@ #include "config.h" #include "GunzipReader.hxx" +#include "lib/zlib/Error.hxx" -GunzipReader::GunzipReader(Reader &_next) throw(ZlibError) +GunzipReader::GunzipReader(Reader &_next) :next(_next), eof(false) { z.next_in = nullptr; diff --git a/src/fs/io/GunzipReader.hxx b/src/fs/io/GunzipReader.hxx index a1b5c9fc2..e81220035 100644 --- a/src/fs/io/GunzipReader.hxx +++ b/src/fs/io/GunzipReader.hxx @@ -23,7 +23,6 @@ #include "check.h" #include "Reader.hxx" #include "util/StaticFifoBuffer.hxx" -#include "lib/zlib/Error.hxx" #include "Compiler.h" #include @@ -44,7 +43,7 @@ public: /** * Construct the filter. */ - GunzipReader(Reader &_next) throw(ZlibError); + GunzipReader(Reader &_next); ~GunzipReader() { inflateEnd(&z); diff --git a/src/fs/io/GzipOutputStream.cxx b/src/fs/io/GzipOutputStream.cxx index 839c11749..d398fcfdb 100644 --- a/src/fs/io/GzipOutputStream.cxx +++ b/src/fs/io/GzipOutputStream.cxx @@ -21,7 +21,7 @@ #include "GzipOutputStream.hxx" #include "lib/zlib/Error.hxx" -GzipOutputStream::GzipOutputStream(OutputStream &_next) throw(ZlibError) +GzipOutputStream::GzipOutputStream(OutputStream &_next) :next(_next) { z.next_in = nullptr; diff --git a/src/fs/io/GzipOutputStream.hxx b/src/fs/io/GzipOutputStream.hxx index 6f5bbe8db..aa11a40e1 100644 --- a/src/fs/io/GzipOutputStream.hxx +++ b/src/fs/io/GzipOutputStream.hxx @@ -22,7 +22,6 @@ #include "check.h" #include "OutputStream.hxx" -#include "lib/zlib/Error.hxx" #include "Compiler.h" #include @@ -42,7 +41,7 @@ public: /** * Construct the filter. */ - GzipOutputStream(OutputStream &_next) throw(ZlibError); + GzipOutputStream(OutputStream &_next); ~GzipOutputStream(); /**