diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2026-02-12 18:26:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-12 18:26:39 +0100 |
| commit | c9f53fdfd70f9b90c9dfca9d01af482ce121d7c4 (patch) | |
| tree | b2a725d684c4da52757591c864828554a919db8d /core/container/bit_array | |
| parent | 1159110e735ba84d651f4bbc4e9883fd83e9eddc (diff) | |
| parent | c0300a33039ab003cbf105c082fe43de4b17ab96 (diff) | |
Merge pull request #6264 from Kelimion/mem_to_runtime
Replace trivial `core:mem` imports with `base:runtime`.
Diffstat (limited to 'core/container/bit_array')
| -rw-r--r-- | core/container/bit_array/bit_array.odin | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/container/bit_array/bit_array.odin b/core/container/bit_array/bit_array.odin index 85b941d12..7d74d9ba7 100644 --- a/core/container/bit_array/bit_array.odin +++ b/core/container/bit_array/bit_array.odin @@ -2,7 +2,6 @@ package container_dynamic_bit_array import "base:builtin" import "base:intrinsics" -import "core:mem" /* Note that these constants are dependent on the backing being a u64. @@ -329,7 +328,7 @@ Inputs: */ clear :: proc(ba: ^Bit_Array) { if ba == nil { return } - mem.zero_slice(ba.bits[:]) + intrinsics.mem_zero(raw_data(ba.bits), builtin.len(ba.bits) * NUM_BITS / 8) } /* Gets the length of set and unset valid bits in the Bit_Array. |