fix it not being a macro

This commit is contained in:
Matthew 2025-09-15 05:38:45 +10:00
parent ff378df96e
commit 608f527ca5

2
util.d
View File

@ -490,7 +490,7 @@ GetList(K, V)(HashTable!(K, V)* ht, K key)
} }
KVPair!(K, V)*[] KVPair!(K, V)*[]
GetAllNodes(Arena* arena, HashTable!(K, V)* ht) GetAllNodes(K, V)(Arena* arena, HashTable!(K, V)* ht)
{ {
KVPair!(K, V)*[] pairs = AllocArray!(KVPair!(K, V)*)(arena, ht.node_count); KVPair!(K, V)*[] pairs = AllocArray!(KVPair!(K, V)*)(arena, ht.node_count);