fs/Glob: make constructor "explicit"

This commit is contained in:
Max Kellermann
2015-06-22 21:10:59 +02:00
parent 0b41faec89
commit a6aea4ba58

View File

@@ -38,7 +38,7 @@ class Glob {
GPatternSpec *pattern; GPatternSpec *pattern;
public: public:
Glob(const char *_pattern) explicit Glob(const char *_pattern)
:pattern(g_pattern_spec_new(_pattern)) {} :pattern(g_pattern_spec_new(_pattern)) {}
Glob(Glob &&other) Glob(Glob &&other)