Browse Source

Remove invalid allocator assignment to slice

`T` is `#soa[]$E`, which does not carry an allocator.
Zac Nowicki 1 year ago
parent
commit
9d0786ded7
1 changed files with 0 additions and 1 deletions
  1. 0 1
      base/runtime/core_builtin_soa.odin

+ 0 - 1
base/runtime/core_builtin_soa.odin

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