1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:34:57 +00:00

AK: Always inline FlyString::view()

This commit is contained in:
Andreas Kling 2021-06-05 12:36:14 +02:00
parent d02e7b3811
commit 66f15c2e0c
3 changed files with 2 additions and 7 deletions

View file

@ -115,11 +115,6 @@ FlyString FlyString::to_lowercase() const
return String(*m_impl).to_lowercase();
}
StringView FlyString::view() const
{
return { characters(), length() };
}
bool FlyString::operator==(const String& other) const
{
if (m_impl == other.impl())