diff options
author | Andreas Kling <kling@serenityos.org> | 2020-03-22 13:07:45 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-22 13:07:45 +0100 |
commit | 26bc3d4ea02cce2cf7f11b66d1fe978c3de89f76 (patch) | |
tree | 4979d2e27f6feab66ac569f38b833ca3e7f5c21f /AK/StringView.h | |
parent | 0efa47b7ef507b2e4cd9846c9f79e4c0361bbc78 (diff) | |
download | serenity-26bc3d4ea02cce2cf7f11b66d1fe978c3de89f76.zip |
AK: Add FlyString::equals_ignoring_case(StringView)
And share the code with String by moving the logic to StringUtils. :^)
Diffstat (limited to 'AK/StringView.h')
-rw-r--r-- | AK/StringView.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/AK/StringView.h b/AK/StringView.h index 00e1af1e69..068873400a 100644 --- a/AK/StringView.h +++ b/AK/StringView.h @@ -139,6 +139,8 @@ public: return !(*this == other); } + const StringImpl* impl() const { return m_impl; } + private: friend class String; const StringImpl* m_impl { nullptr }; |