diff options
Diffstat (limited to 'src/fs/Glob.hxx')
-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) |