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

Revert "AK: Always inline FlyString::view()"

This reverts commit 66f15c2e0c.
This commit is contained in:
Linus Groh 2021-06-06 01:58:09 +01:00
parent 0bf597e99d
commit f09216ac42
3 changed files with 7 additions and 2 deletions

View file

@ -115,6 +115,11 @@ 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())