From c53074efc94f0ed99dc8baf302908a6a6ac64886 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 4 Sep 2020 14:16:26 +0200 Subject: [PATCH] archive/zzip: add `explicit` --- src/archive/plugins/ZzipArchivePlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/archive/plugins/ZzipArchivePlugin.cxx b/src/archive/plugins/ZzipArchivePlugin.cxx index 31698b978..00fcc6056 100644 --- a/src/archive/plugins/ZzipArchivePlugin.cxx +++ b/src/archive/plugins/ZzipArchivePlugin.cxx @@ -54,7 +54,7 @@ class ZzipArchiveFile final : public ArchiveFile { std::shared_ptr dir; public: - ZzipArchiveFile(std::shared_ptr &&_dir) + explicit ZzipArchiveFile(std::shared_ptr &&_dir) noexcept :dir(std::move(_dir)) {} virtual void Visit(ArchiveVisitor &visitor) override;