mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibRegex: Remove some meaningless/useless const-qualifiers
Also replace String creation from `""` with `String::empty()`
This commit is contained in:
parent
ca69ded9a5
commit
5885e70df7
Notes:
sideshowbarker
2024-07-17 22:24:56 +09:00
Author: https://github.com/Hendiadyoin1
Commit: 5885e70df7
Pull-request: https://github.com/SerenityOS/serenity/pull/11353
Reviewed-by: https://github.com/alimpfard ✅
Reviewed-by: https://github.com/trflynn89
4 changed files with 30 additions and 30 deletions
|
@ -812,7 +812,7 @@ ALWAYS_INLINE void OpCode_Compare::compare_script_extension(MatchInput const& in
|
|||
}
|
||||
}
|
||||
|
||||
String const OpCode_Compare::arguments_string() const
|
||||
String OpCode_Compare::arguments_string() const
|
||||
{
|
||||
return String::formatted("argc={}, args={} ", arguments_count(), arguments_size());
|
||||
}
|
||||
|
@ -855,7 +855,7 @@ Vector<CompareTypeAndValuePair> OpCode_Compare::flat_compares() const
|
|||
return result;
|
||||
}
|
||||
|
||||
Vector<String> const OpCode_Compare::variable_arguments_to_string(Optional<MatchInput> input) const
|
||||
Vector<String> OpCode_Compare::variable_arguments_to_string(Optional<MatchInput> input) const
|
||||
{
|
||||
Vector<String> result;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue