It's not always Id.

This commit is contained in:
Alexander McCord 2024-05-26 22:28:55 -07:00
parent f82e6d79a4
commit 68efd51b56

View file

@ -311,8 +311,8 @@ struct LanguageHash<std::array<T, I>>
size_t operator()(const std::array<T, I>& array) const
{
size_t seed = 0;
for (Id id : array)
hashCombine(seed, languageHash(id));
for (const T& t : array)
hashCombine(seed, languageHash(t));
return seed;
}
};