aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-06-22 21:10:59 +0200
committerMax Kellermann <max@duempel.org>2015-06-22 22:12:08 +0200
commita6aea4ba5859099eb6456f33a917c728b8558805 (patch)
treed026ac9c04c3950890dc622b48d667254476c993 /src
parent0b41faec89de28a122d8a68a62b89b3bee31d9f1 (diff)
downloadmpd-a6aea4ba5859099eb6456f33a917c728b8558805.tar.gz
mpd-a6aea4ba5859099eb6456f33a917c728b8558805.tar.xz
mpd-a6aea4ba5859099eb6456f33a917c728b8558805.zip
fs/Glob: make constructor "explicit"
Diffstat (limited to 'src')
-rw-r--r--src/fs/Glob.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/Glob.hxx b/src/fs/Glob.hxx
index 67ba22f91..493b3beba 100644
--- a/src/fs/Glob.hxx
+++ b/src/fs/Glob.hxx
@@ -38,7 +38,7 @@ class Glob {
GPatternSpec *pattern;
public:
- Glob(const char *_pattern)
+ explicit Glob(const char *_pattern)
:pattern(g_pattern_spec_new(_pattern)) {}
Glob(Glob &&other)