mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-27 21:42:53 +00:00
AK: Rename CaseInsensitiveStringViewTraits to reflect intent
Now it is called `CaseInsensitiveASCIIStringViewTraits`, so we can be more specific about what data structure does it operate onto. ;)
This commit is contained in:
parent
8ba6cd6ab9
commit
5141c86587
Notes:
sideshowbarker
2024-07-16 23:59:28 +09:00
Author: https://github.com/Gustrb 🔰
Commit: 5141c86587
Pull-request: https://github.com/SerenityOS/serenity/pull/17850
Reviewed-by: https://github.com/linusg
7 changed files with 10 additions and 11 deletions
|
@ -613,7 +613,7 @@ static constexpr Array<Location, @size@> s_time_zone_locations { {
|
|||
TRY(hashes.try_ensure_capacity(values.size()));
|
||||
|
||||
auto hash = [](auto const& value) {
|
||||
return CaseInsensitiveStringViewTraits::hash(value);
|
||||
return CaseInsensitiveASCIIStringViewTraits::hash(value);
|
||||
};
|
||||
|
||||
for (auto const& value : values)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue