mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Remove invalid allocator assignment to slice
`T` is `#soa[]$E`, which does not carry an allocator.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user