1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:48:12 +00:00

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
parent 0efa47b7ef
commit 26bc3d4ea0
6 changed files with 31 additions and 16 deletions

View file

@ -139,6 +139,8 @@ public:
return !(*this == other);
}
const StringImpl* impl() const { return m_impl; }
private:
friend class String;
const StringImpl* m_impl { nullptr };