1
Fork 0
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:
Ben Wiederhake 2023-01-09 18:51:21 +01:00 committed by Andrew Kaster
parent 822e32eb11
commit 79b9dd6248
2 changed files with 9 additions and 0 deletions

View file

@ -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); }
};
}