AK: Add FlyString::equals_ignoring_case(StringView)

And share the code with String by moving the logic to StringUtils. :^)
This commit is contained in:
Andreas Kling 2020-03-22 13:07:45 +01:00
commit 26bc3d4ea0
Notes: sideshowbarker 2024-07-19 08:11:05 +09:00
6 changed files with 31 additions and 16 deletions

View file

@ -48,6 +48,8 @@ public:
int to_int(bool& ok) const;
bool equals_ignoring_case(const StringView&) const;
static void did_destroy_impl(Badge<StringImpl>, StringImpl&);
private: