diff --git a/util.d b/util.d index 949f133..307c902 100644 --- a/util.d +++ b/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) { - pairs[count] = &n.value; + pairs[count] = n; count += 1; } }