mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 01:55:07 +00:00
AK: Add FlyString::hash()
This commit is contained in:
parent
0243ac5d04
commit
8cbb8491cb
|
@ -55,6 +55,8 @@ public:
|
|||
const char* characters() const { return m_impl ? m_impl->characters() : nullptr; }
|
||||
size_t length() const { return m_impl ? m_impl->length() : 0; }
|
||||
|
||||
u32 hash() const { return m_impl ? m_impl->hash() : 0; }
|
||||
|
||||
StringView view() const;
|
||||
|
||||
FlyString to_lowercase() const;
|
||||
|
|
Loading…
Reference in a new issue