summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-03-13 19:55:25 +0100
committerMax Kellermann <max@musicpd.org>2020-03-13 19:55:25 +0100
commitb6b15afb5ae9a7a3b37b0e02f7715b915a174f46 (patch)
treee664ae8caffbca8d0aeb9a2e26f75fef3c5b765b /src/fs
parent1d560c8f0feb9156d62a0a9b4708ae7a8e8a8241 (diff)
fs/Path: make constructor `explicit`
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/Path.hxx2
1 files changed, 1 insertions, 1 deletions
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:
/**