| Index: regexp2000/src/jsregexp.h
|
| diff --git a/regexp2000/src/jsregexp.h b/regexp2000/src/jsregexp.h
|
| index 42da4e5a6976c7dac59fd0ac8f1b5914952e2ae7..dbfe58b135040fe936adbbba5331883351f055bf 100644
|
| --- a/regexp2000/src/jsregexp.h
|
| +++ b/regexp2000/src/jsregexp.h
|
| @@ -421,7 +421,7 @@ class TextElement {
|
| public:
|
| enum Type {UNINITIALIZED, ATOM, CHAR_CLASS};
|
| TextElement() : type(UNINITIALIZED) { }
|
| - TextElement(Type t) : type(t) { }
|
| + explicit TextElement(Type t) : type(t) { }
|
| static TextElement Atom(RegExpAtom* atom);
|
| static TextElement CharClass(RegExpCharacterClass* char_class);
|
| Type type;
|
|
|