archive/zzip: add explicit
This commit is contained in:
parent
3b51c53eca
commit
c53074efc9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user