diff --git a/many_bits/many_bits.odin b/many_bits/many_bits.odin index 0ad1e0d..659cb03 100644 --- a/many_bits/many_bits.odin +++ b/many_bits/many_bits.odin @@ -25,8 +25,8 @@ Bits :: struct { length: int, // Total number of bits being stored } -delete :: proc(using bits: Bits, allocator := context.allocator) { - delete_slice(int_array, allocator) +delete :: proc(bits: Bits, allocator := context.allocator) { + delete_slice(bits.int_array, allocator) } make :: proc(#any_int length: int, allocator := context.allocator) -> Bits {