lib/zlib/GzipOutputStream: add noexcept
This commit is contained in:

committed by
Max Kellermann

parent
8722c51306
commit
ba2df05fb4
@@ -23,7 +23,7 @@ GzipOutputStream::GzipOutputStream(OutputStream &_next)
|
|||||||
throw ZlibError(result);
|
throw ZlibError(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
GzipOutputStream::~GzipOutputStream()
|
GzipOutputStream::~GzipOutputStream() noexcept
|
||||||
{
|
{
|
||||||
deflateEnd(&z);
|
deflateEnd(&z);
|
||||||
}
|
}
|
||||||
|
@@ -26,7 +26,7 @@ public:
|
|||||||
* Throws #ZlibError on error.
|
* Throws #ZlibError on error.
|
||||||
*/
|
*/
|
||||||
explicit GzipOutputStream(OutputStream &_next);
|
explicit GzipOutputStream(OutputStream &_next);
|
||||||
~GzipOutputStream();
|
~GzipOutputStream() noexcept;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Throws on error.
|
* Throws on error.
|
||||||
|
Reference in New Issue
Block a user