diff options
author | Max Kellermann <max@duempel.org> | 2015-06-22 21:10:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-06-22 22:12:08 +0200 |
commit | a6aea4ba5859099eb6456f33a917c728b8558805 (patch) | |
tree | d026ac9c04c3950890dc622b48d667254476c993 /src/fs/Glob.hxx | |
parent | 0b41faec89de28a122d8a68a62b89b3bee31d9f1 (diff) | |
download | mpd-a6aea4ba5859099eb6456f33a917c728b8558805.tar.gz mpd-a6aea4ba5859099eb6456f33a917c728b8558805.tar.xz mpd-a6aea4ba5859099eb6456f33a917c728b8558805.zip |
fs/Glob: make constructor "explicit"
Diffstat (limited to '')
-rw-r--r-- | src/fs/Glob.hxx | 2 |
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) |