Commit bde50b1b authored by Max Kellermann's avatar Max Kellermann

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

parent a34dfd55
......@@ -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;
......
......@@ -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);
......
......@@ -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;
......
......@@ -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();
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment