mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:47:34 +00:00
AK+Tests: Make CaseInsensitiveStringViewTraits work with HashMap again
This commit is contained in:
parent
822e32eb11
commit
79b9dd6248
2 changed files with 9 additions and 0 deletions
|
@ -348,6 +348,7 @@ struct CaseInsensitiveStringViewTraits : public Traits<StringView> {
|
|||
return 0;
|
||||
return case_insensitive_string_hash(s.characters_without_null_termination(), s.length());
|
||||
}
|
||||
static bool equals(StringView const& a, StringView const& b) { return a.equals_ignoring_case(b); }
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue