From 9d0786ded7ce91c9b432229aaea5c35aae1155eb Mon Sep 17 00:00:00 2001 From: Zac Nowicki Date: Thu, 8 Feb 2024 04:14:16 -0500 Subject: [PATCH] Remove invalid allocator assignment to slice `T` is `#soa[]$E`, which does not carry an allocator. --- base/runtime/core_builtin_soa.odin | 1 - 1 file changed, 1 deletion(-) diff --git a/base/runtime/core_builtin_soa.odin b/base/runtime/core_builtin_soa.odin index 1b2e5d316..94f5be1d4 100644 --- a/base/runtime/core_builtin_soa.odin +++ b/base/runtime/core_builtin_soa.odin @@ -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