Commit c53074ef authored by Max Kellermann's avatar Max Kellermann

archive/zzip: add `explicit`

parent 3b51c53e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment