archive/zzip: add `override`

This commit is contained in:
Max Kellermann 2020-09-04 14:18:30 +02:00
parent 9d910320f3
commit 6c85020630
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}