Remove invalid allocator assignment to slice

`T` is `#soa[]$E`, which does not carry an allocator.
This commit is contained in:
Zac Nowicki
2024-02-08 04:14:16 -05:00
parent 4c51706941
commit 9d0786ded7

View File

@@ -86,7 +86,6 @@ make_soa_aligned :: proc($T: typeid/#soa[]$E, length: int, alignment: int, alloc
return
}
array.allocator = allocator
footer := raw_soa_footer(&array)
if size_of(E) == 0 {
footer.len = length