diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regex.hh b/src/regex.hh index 2fed745d..b88b1ba4 100644 --- a/src/regex.hh +++ b/src/regex.hh @@ -20,8 +20,9 @@ struct regex_error : runtime_error using RegexBase = boost::basic_regex<wchar_t, boost::c_regex_traits<wchar_t>>; // Regex that keeps track of its string representation -struct Regex : RegexBase +class Regex : RegexBase { +public: Regex() = default; explicit Regex(StringView re, flag_type flags = ECMAScript); |
