mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
AK: Always inline FlyString::view()
This commit is contained in:
parent
d02e7b3811
commit
66f15c2e0c
3 changed files with 2 additions and 7 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue