1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09: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
Notes: sideshowbarker 2024-07-18 12:46:54 +09:00
3 changed files with 2 additions and 7 deletions

View file

@ -60,8 +60,7 @@ public:
size_t length() const { return m_impl ? m_impl->length() : 0; }
ALWAYS_INLINE u32 hash() const { return m_impl ? m_impl->existing_hash() : 0; }
StringView view() const;
ALWAYS_INLINE StringView view() const { return m_impl ? m_impl->view() : StringView {}; }
FlyString to_lowercase() const;