Removed implicit assignments for container allocators in the Base and Core packages
This commit is contained in:
1 parent
37ec315a91
commit
5a7b8b463b
11 files changed
+77
-40
No files matched your search
@@ -232,9 +232,11 @@ tracking_allocator_proc :: proc(
|
||||
}
|
||||
result_ptr := raw_data(result)
|
||||
|
||||
if data.allocation_map.allocator.procedure == nil {
|
||||
data.allocation_map.allocator = context.allocator
|
||||
}
|
||||
// Note(Ed) - Sectr Fork: Not a fan. (I want it to assert)
|
||||
// if data.allocation_map.allocator.procedure == nil {
|
||||
// data.allocation_map.allocator = context.allocator
|
||||
// }
|
||||
assert(data.allocation_map.allocator.procedure != nil)
|
||||
|
||||
switch mode {
|
||||
case .Alloc, .Alloc_Non_Zeroed:
|
||||
|
||||
Reference in new issue
Block a user