mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 00:56:39 +00:00
Assistant: Make strings const referenced
Found by clazy.
This commit is contained in:
parent
7496f17620
commit
5ddd1555bc
Notes:
sideshowbarker
2024-07-18 01:54:01 +09:00
Author: https://github.com/krkk
Commit: 5ddd1555bc
Pull-request: https://github.com/SerenityOS/serenity/pull/10617
Issue: https://github.com/SerenityOS/serenity/issues/8310
Reviewed-by: https://github.com/Dexesttp
2 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ static FuzzyMatchResult fuzzy_match_recursive(String const& needle, String const
|
|||
return { false, out_score };
|
||||
}
|
||||
|
||||
FuzzyMatchResult fuzzy_match(String needle, String haystack)
|
||||
FuzzyMatchResult fuzzy_match(String const& needle, String const& haystack)
|
||||
{
|
||||
int recursion_count = 0;
|
||||
u8 matches[MAX_MATCHES] {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue