fix hashtable func
This commit is contained in:
parent
e5f91cae6d
commit
617e03f917
2
util.d
2
util.d
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user