mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
Assistant: Make strings const referenced
Found by clazy.
This commit is contained in:
parent
7496f17620
commit
5ddd1555bc
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