From b6b15afb5ae9a7a3b37b0e02f7715b915a174f46 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 13 Mar 2020 19:55:25 +0100 Subject: [PATCH] fs/Path: make constructor `explicit` --- src/fs/Path.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fs/Path.hxx b/src/fs/Path.hxx index e41345c4b..b4c84876a 100644 --- a/src/fs/Path.hxx +++ b/src/fs/Path.hxx @@ -38,7 +38,7 @@ class Path : public PathTraitsFS::Pointer { using Traits = PathTraitsFS; using Base = Traits::Pointer; - constexpr Path(const_pointer _value) noexcept:Base(_value) {} + explicit constexpr Path(const_pointer _value) noexcept:Base(_value) {} public: /**