diff options
Diffstat (limited to 'AK/StringView.h')
-rw-r--r-- | AK/StringView.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/AK/StringView.h b/AK/StringView.h index aeccf623c4..c2ea6759dd 100644 --- a/AK/StringView.h +++ b/AK/StringView.h @@ -359,8 +359,7 @@ struct Traits<StringView> : public GenericTraits<StringView> { static unsigned hash(StringView s) { return s.hash(); } }; -// FIXME: Rename this to indicate that it's about ASCII-only case insensitivity. -struct CaseInsensitiveStringViewTraits : public Traits<StringView> { +struct CaseInsensitiveASCIIStringViewTraits : public Traits<StringView> { static unsigned hash(StringView s) { if (s.is_empty()) @@ -386,6 +385,6 @@ struct CaseInsensitiveStringViewTraits : public Traits<StringView> { } #if USING_AK_GLOBALLY -using AK::CaseInsensitiveStringViewTraits; +using AK::CaseInsensitiveASCIIStringViewTraits; using AK::StringView; #endif |