diff options
| author | Zac Nowicki <zachnowicki@gmail.com> | 2024-02-08 04:14:16 -0500 |
|---|---|---|
| committer | Zac Nowicki <zachnowicki@gmail.com> | 2024-02-08 04:14:16 -0500 |
| commit | 9d0786ded7ce91c9b432229aaea5c35aae1155eb (patch) | |
| tree | adac70a323f14cca943bce6d9afad5859841f411 /base/runtime | |
| parent | 4c51706941e722c4eb633e53c3de1f09c113175a (diff) | |
Remove invalid allocator assignment to slice
`T` is `#soa[]$E`, which does not carry an allocator.
Diffstat (limited to 'base/runtime')
| -rw-r--r-- | base/runtime/core_builtin_soa.odin | 1 |
1 files changed, 0 insertions, 1 deletions
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 |