lib/zlib/GzipOutputStream: add `noexcept`

This commit is contained in:
Max Kellermann 2023-04-14 19:31:20 +02:00 committed by Max Kellermann
parent 8722c51306
commit ba2df05fb4
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ GzipOutputStream::GzipOutputStream(OutputStream &_next)
throw ZlibError(result);
}
GzipOutputStream::~GzipOutputStream()
GzipOutputStream::~GzipOutputStream() noexcept
{
deflateEnd(&z);
}

View File

@ -26,7 +26,7 @@ public:
* Throws #ZlibError on error.
*/
explicit GzipOutputStream(OutputStream &_next);
~GzipOutputStream();
~GzipOutputStream() noexcept;
/**
* Throws on error.