1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:07:34 +00:00

LibRegex: Do not return an Optional from Regex::Matcher::execute

The code path that could return an optional no longer exists as of
commit: a962ee020a
This commit is contained in:
Timothy Flynn 2022-02-05 09:24:26 -05:00 committed by Ali Mohammad Pur
parent 27d3de1f17
commit 3729fd06fa
2 changed files with 9 additions and 14 deletions

View file

@ -74,7 +74,7 @@ public:
}
private:
Optional<bool> execute(MatchInput const& input, MatchState& state, size_t& operations) const;
bool execute(MatchInput const& input, MatchState& state, size_t& operations) const;
Regex<Parser> const* m_pattern;
typename ParserTraits<Parser>::OptionsType const m_regex_options;