diff --git a/AK/StringView.h b/AK/StringView.h index 894b486546..6a0293561f 100644 --- a/AK/StringView.h +++ b/AK/StringView.h @@ -187,6 +187,11 @@ private: size_t m_length { 0 }; }; +template<> +struct Traits : public GenericTraits { + static unsigned hash(const StringView& s) { return s.hash(); } +}; + } using AK::StringView;