fs/Glob: make constructor "explicit"
This commit is contained in:
parent
0b41faec89
commit
a6aea4ba58
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue