From 1a516e774457b0d0b90171b62c357737c84ec62c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 4 Sep 2020 17:50:23 +0200 Subject: [PATCH] archive/bzip2: add `override` --- src/archive/plugins/Bzip2ArchivePlugin.cxx | 4 ++-- 1 file 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 &_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 &_input, Open(); } -Bzip2InputStream::~Bzip2InputStream() +Bzip2InputStream::~Bzip2InputStream() noexcept { BZ2_bzDecompressEnd(&bzstream); }