aboutsummaryrefslogtreecommitdiff
path: root/core/mem
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2025-06-14 13:14:14 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2025-06-15 12:34:15 -0400
commit32618967908fa05ed093dbdb0a924168aceacef7 (patch)
treef97b17a4a8c0520c4a9884acab926a1448c404da /core/mem
parentaa41a77fc44db838c15aadbd405a11d26c5ddb80 (diff)
mem: Correct wrong error message
Diffstat (limited to 'core/mem')
-rw-r--r--core/mem/allocators.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mem/allocators.odin b/core/mem/allocators.odin
index 200f15883..ee59325e2 100644
--- a/core/mem/allocators.odin
+++ b/core/mem/allocators.odin
@@ -1719,7 +1719,7 @@ dynamic_arena_destroy :: proc(a: ^Dynamic_Arena) {
@(private="file")
_dynamic_arena_cycle_new_block :: proc(a: ^Dynamic_Arena, loc := #caller_location) -> (err: Allocator_Error) {
if a.block_allocator.procedure == nil {
- panic("You must call arena_init on a Pool before using it", loc)
+ panic("You must call `dynamic_arena_init` on a Dynamic Arena before using it.", loc)
}
if a.current_block != nil {
append(&a.used_blocks, a.current_block, loc=loc)