diff options
author | Max Kellermann <max@musicpd.org> | 2020-09-04 14:18:30 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-09-04 14:33:44 +0200 |
commit | 6c850206301f5a4c39322fd090af46a3b685b03d (patch) | |
tree | 372e83059218d1052297136b8244b01986f3a703 /src/archive | |
parent | 9d910320f382a3b96488bd27cd1c83daf161adf2 (diff) |
archive/zzip: add `override`
Diffstat (limited to 'src/archive')
-rw-r--r-- | src/archive/plugins/ZzipArchivePlugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/archive/plugins/ZzipArchivePlugin.cxx b/src/archive/plugins/ZzipArchivePlugin.cxx index 143cd33af..a13df5108 100644 --- a/src/archive/plugins/ZzipArchivePlugin.cxx +++ b/src/archive/plugins/ZzipArchivePlugin.cxx @@ -58,7 +58,7 @@ public: explicit ZzipArchiveFile(D &&_dir) noexcept :dir(std::forward<D>(_dir)) {} - virtual void Visit(ArchiveVisitor &visitor) override; + void Visit(ArchiveVisitor &visitor) override; InputStreamPtr OpenStream(const char *path, Mutex &mutex) override; @@ -108,7 +108,7 @@ public: SetReady(); } - ~ZzipInputStream() { + ~ZzipInputStream() noexcept override { zzip_file_close(file); } |