mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
AK: Add FlyString::hash()
This commit is contained in:
parent
0243ac5d04
commit
8cbb8491cb
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@ public:
|
||||||
const char* characters() const { return m_impl ? m_impl->characters() : nullptr; }
|
const char* characters() const { return m_impl ? m_impl->characters() : nullptr; }
|
||||||
size_t length() const { return m_impl ? m_impl->length() : 0; }
|
size_t length() const { return m_impl ? m_impl->length() : 0; }
|
||||||
|
|
||||||
|
u32 hash() const { return m_impl ? m_impl->hash() : 0; }
|
||||||
|
|
||||||
StringView view() const;
|
StringView view() const;
|
||||||
|
|
||||||
FlyString to_lowercase() const;
|
FlyString to_lowercase() const;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue