AK: Add FlyString::hash()

This commit is contained in:
Andreas Kling 2020-04-10 16:26:59 +02:00
commit 8cbb8491cb
Notes: sideshowbarker 2024-07-19 07:44:32 +09:00

View file

@ -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;