diff --git a/src/regex.hh b/src/regex.hh index ab1c3f34..8790baec 100644 --- a/src/regex.hh +++ b/src/regex.hh @@ -31,7 +31,7 @@ struct Regex : RegexBase const String& str() const { return m_str; } - static constexpr StringView option_type_name = "regex"; + static constexpr const char* option_type_name = "regex"; private: String m_str;