Commit a6aea4ba authored by Max Kellermann's avatar Max Kellermann

fs/Glob: make constructor "explicit"

parent 0b41faec
...@@ -38,7 +38,7 @@ class Glob { ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment