mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:27:45 +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
|
@ -24,6 +24,6 @@ struct FuzzyMatchResult {
|
|||
// Scores are not normalized between any values and have no particular meaning. The starting value is 100 and when we
|
||||
// detect good indicators of a match we add to the score. When we detect bad indicators, we penalize the match and subtract
|
||||
// from its score. Therefore, the longer the needle/haystack the greater the range of scores could be.
|
||||
FuzzyMatchResult fuzzy_match(String needle, String haystack);
|
||||
FuzzyMatchResult fuzzy_match(String const& needle, String const& haystack);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue