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

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

This reverts commit f09216ac42.
This was supposed to be a local test only, didn't mean to push it. :^)
This commit is contained in:
Linus Groh 2021-06-06 08:05:49 +01:00
parent 887852f36d
commit 0a7e91329f
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())