mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00:00
LibRegex: Take the regex as a const reference in print_bytecode()
This commit is contained in:
parent
e9279d1790
commit
25d336bc27
|
@ -55,7 +55,7 @@ public:
|
|||
}
|
||||
|
||||
template<typename T>
|
||||
void print_bytecode(Regex<T>& regex) const
|
||||
void print_bytecode(const Regex<T>& regex) const
|
||||
{
|
||||
MatchState state;
|
||||
auto& bytecode = regex.parser_result.bytecode;
|
||||
|
|
Loading…
Reference in a new issue