From 8cbb8491cb82151a57f267105447314504a82e9e Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 10 Apr 2020 16:26:59 +0200 Subject: [PATCH] AK: Add FlyString::hash() --- AK/FlyString.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AK/FlyString.h b/AK/FlyString.h index fc89e840b2..a306682813 100644 --- a/AK/FlyString.h +++ b/AK/FlyString.h @@ -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;