| Index: tools/gn/pattern.h
|
| diff --git a/tools/gn/pattern.h b/tools/gn/pattern.h
|
| index f5f432cc09a1a7cbdc6eaeffaff5bd7bc0500fc9..39895bfa9ba94908d57616ed2b576fb64e1865cf 100644
|
| --- a/tools/gn/pattern.h
|
| +++ b/tools/gn/pattern.h
|
| @@ -19,7 +19,7 @@ class Pattern {
|
| PATH_BOUNDARY // '/' or beginning of string.
|
| };
|
|
|
| - Subrange(Type t, const std::string& l = std::string())
|
| + explicit Subrange(Type t, const std::string& l = std::string())
|
| : type(t),
|
| literal(l) {
|
| }
|
| @@ -44,7 +44,7 @@ class Pattern {
|
| std::string literal;
|
| };
|
|
|
| - Pattern(const std::string& s);
|
| + explicit Pattern(const std::string& s);
|
| ~Pattern();
|
|
|
| // Returns true if the current pattern matches the given string.
|
|
|