From a6aea4ba5859099eb6456f33a917c728b8558805 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 22 Jun 2015 21:10:59 +0200 Subject: fs/Glob: make constructor "explicit" --- src/fs/Glob.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3