mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 14:50:18 +00:00
AK: Add FlyString::hash()
This commit is contained in:
parent
0243ac5d04
commit
8cbb8491cb
Notes:
sideshowbarker
2024-07-19 07:44:32 +09:00
Author: https://github.com/awesomekling
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; }
|
||||
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…
Add table
Add a link
Reference in a new issue