mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-10 22:00:54 +01:00
It's not always Id.
This commit is contained in:
parent
f82e6d79a4
commit
68efd51b56
1 changed files with 2 additions and 2 deletions
|
@ -311,8 +311,8 @@ struct LanguageHash<std::array<T, I>>
|
||||||
size_t operator()(const std::array<T, I>& array) const
|
size_t operator()(const std::array<T, I>& array) const
|
||||||
{
|
{
|
||||||
size_t seed = 0;
|
size_t seed = 0;
|
||||||
for (Id id : array)
|
for (const T& t : array)
|
||||||
hashCombine(seed, languageHash(id));
|
hashCombine(seed, languageHash(t));
|
||||||
return seed;
|
return seed;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue