diff --git a/src/interned_string.hh b/src/interned_string.hh index b280fde9..5c87b3f4 100644 --- a/src/interned_string.hh +++ b/src/interned_string.hh @@ -128,8 +128,7 @@ namespace std { size_t operator()(const Kakoune::InternedString& str) const { - return hash{}(str.data()) ^ - hash{}((int)str.length()); + return Kakoune::hash_data(str.data(), (int)str.length()); } }; }