fs/io/{GunzipReader,GzipOutputStream: remove deprepcated dynamic exception specifications

This commit is contained in:
Max Kellermann 2017-01-04 10:33:24 +01:00
parent a34dfd55be
commit bde50b1be8
4 changed files with 5 additions and 6 deletions

View File

@ -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;

View File

@ -23,7 +23,6 @@
#include "check.h"
#include "Reader.hxx"
#include "util/StaticFifoBuffer.hxx"
#include "lib/zlib/Error.hxx"
#include "Compiler.h"
#include <zlib.h>
@ -44,7 +43,7 @@ public:
/**
* Construct the filter.
*/
GunzipReader(Reader &_next) throw(ZlibError);
GunzipReader(Reader &_next);
~GunzipReader() {
inflateEnd(&z);

View File

@ -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;

View File

@ -22,7 +22,6 @@
#include "check.h"
#include "OutputStream.hxx"
#include "lib/zlib/Error.hxx"
#include "Compiler.h"
#include <zlib.h>
@ -42,7 +41,7 @@ public:
/**
* Construct the filter.
*/
GzipOutputStream(OutputStream &_next) throw(ZlibError);
GzipOutputStream(OutputStream &_next);
~GzipOutputStream();
/**