archive/zzip: add explicit

This commit is contained in:
Max Kellermann 2020-09-04 14:16:26 +02:00
parent 3b51c53eca
commit c53074efc9

View File

@ -54,7 +54,7 @@ class ZzipArchiveFile final : public ArchiveFile {
std::shared_ptr<ZzipDir> dir;
public:
ZzipArchiveFile(std::shared_ptr<ZzipDir> &&_dir)
explicit ZzipArchiveFile(std::shared_ptr<ZzipDir> &&_dir) noexcept
:dir(std::move(_dir)) {}
virtual void Visit(ArchiveVisitor &visitor) override;