mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-26 03:02:27 -05:00
LibRegex: Take the regex as a const reference in print_bytecode()
This commit is contained in:
parent
e9279d1790
commit
25d336bc27
Notes:
sideshowbarker
2024-07-18 20:36:23 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/25d336bc27f Pull-request: https://github.com/SerenityOS/serenity/pull/6209 Issue: https://github.com/SerenityOS/serenity/issues/6208
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue