fs/Glob: make constructor "explicit"
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user