fs/io/AutoGunzipReader: add noexcept
This commit is contained in:
parent
bf9f690c70
commit
3882c97545
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user