fs/io/AutoGunzipReader: add noexcept
This commit is contained in:
parent
bf9f690c70
commit
3882c97545
@ -20,7 +20,7 @@
|
|||||||
#include "AutoGunzipReader.hxx"
|
#include "AutoGunzipReader.hxx"
|
||||||
#include "GunzipReader.hxx"
|
#include "GunzipReader.hxx"
|
||||||
|
|
||||||
AutoGunzipReader::~AutoGunzipReader()
|
AutoGunzipReader::~AutoGunzipReader() noexcept
|
||||||
{
|
{
|
||||||
delete gunzip;
|
delete gunzip;
|
||||||
}
|
}
|
||||||
|
@ -35,9 +35,9 @@ class AutoGunzipReader final : public Reader {
|
|||||||
GunzipReader *gunzip = nullptr;
|
GunzipReader *gunzip = nullptr;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit AutoGunzipReader(Reader &_next)
|
explicit AutoGunzipReader(Reader &_next) noexcept
|
||||||
:peek(_next) {}
|
:peek(_next) {}
|
||||||
~AutoGunzipReader();
|
~AutoGunzipReader() noexcept;
|
||||||
|
|
||||||
/* virtual methods from class Reader */
|
/* virtual methods from class Reader */
|
||||||
virtual size_t Read(void *data, size_t size) override;
|
virtual size_t Read(void *data, size_t size) override;
|
||||||
|
Loading…
Reference in New Issue
Block a user