summaryrefslogtreecommitdiff
path: root/src/archive
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-09-04 17:50:23 +0200
committerMax Kellermann <max@musicpd.org>2020-09-04 17:51:21 +0200
commit1a516e774457b0d0b90171b62c357737c84ec62c (patch)
tree29929fc96bf86b5fad330f5e8f60bb89e09c411d /src/archive
parent5c9d97775f20aa1d7a66bf1e60db1872fe9b9db7 (diff)
archive/bzip2: add `override`
Diffstat (limited to 'src/archive')
-rw-r--r--src/archive/plugins/Bzip2ArchivePlugin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/archive/plugins/Bzip2ArchivePlugin.cxx b/src/archive/plugins/Bzip2ArchivePlugin.cxx
index db0d013ff..3bdaf94e5 100644
--- a/src/archive/plugins/Bzip2ArchivePlugin.cxx
+++ b/src/archive/plugins/Bzip2ArchivePlugin.cxx
@@ -68,7 +68,7 @@ public:
Bzip2InputStream(const std::shared_ptr<InputStream> &_input,
const char *uri,
Mutex &mutex);
- ~Bzip2InputStream();
+ ~Bzip2InputStream() noexcept override;
/* virtual methods from InputStream */
bool IsEOF() noexcept override;
@@ -119,7 +119,7 @@ Bzip2InputStream::Bzip2InputStream(const std::shared_ptr<InputStream> &_input,
Open();
}
-Bzip2InputStream::~Bzip2InputStream()
+Bzip2InputStream::~Bzip2InputStream() noexcept
{
BZ2_bzDecompressEnd(&bzstream);
}