fs/Glob: make constructor "explicit"

This commit is contained in:
Max Kellermann 2015-06-22 21:10:59 +02:00
parent 0b41faec89
commit a6aea4ba58
1 changed files with 1 additions and 1 deletions

View File

@ -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)