fix hashtable func

This commit is contained in:
Matthew 2025-12-13 15:21:30 +11:00
parent e5f91cae6d
commit 617e03f917

2
util.d
View File

@ -581,7 +581,7 @@ GetAllNodes(K, V)(Arena* arena, HashTable!(K, V)* ht)
{ {
for(auto n = ht.lists[i].first; !CheckNil(ht.nil, n); n = n.next) for(auto n = ht.lists[i].first; !CheckNil(ht.nil, n); n = n.next)
{ {
pairs[count] = &n.value; pairs[count] = n;
count += 1; count += 1;
} }
} }