소스 검색

Merge pull request #3180 from z64/z64/fix

Remove invalid allocator assignment to slice
gingerBill 1 년 전
부모
커밋
7034a31745
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  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
 	}
 
-	array.allocator = allocator
 	footer := raw_soa_footer(&array)
 	if size_of(E) == 0 {
 		footer.len = length