Commit 3882c975 authored by Max Kellermann's avatar Max Kellermann

fs/io/AutoGunzipReader: add `noexcept`

parent bf9f690c
......@@ -20,7 +20,7 @@
#include "AutoGunzipReader.hxx"
#include "GunzipReader.hxx"
AutoGunzipReader::~AutoGunzipReader()
AutoGunzipReader::~AutoGunzipReader() noexcept
{
delete gunzip;
}
......
......@@ -35,9 +35,9 @@ class AutoGunzipReader final : public Reader {
GunzipReader *gunzip = nullptr;
public:
explicit AutoGunzipReader(Reader &_next)
explicit AutoGunzipReader(Reader &_next) noexcept
:peek(_next) {}
~AutoGunzipReader();
~AutoGunzipReader() noexcept;
/* virtual methods from class Reader */
virtual size_t Read(void *data, size_t size) override;
......
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