1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00

LibRegex: Take the regex as a const reference in print_bytecode()

This commit is contained in:
AnotherTest 2021-04-10 08:33:51 +04:30 committed by Andreas Kling
parent e9279d1790
commit 25d336bc27
Notes: sideshowbarker 2024-07-18 20:36:23 +09:00

View file

@ -55,7 +55,7 @@ public:
} }
template<typename T> template<typename T>
void print_bytecode(Regex<T>& regex) const void print_bytecode(const Regex<T>& regex) const
{ {
MatchState state; MatchState state;
auto& bytecode = regex.parser_result.bytecode; auto& bytecode = regex.parser_result.bytecode;