diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-09-14 17:21:33 +0100 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-09-14 17:21:33 +0100 |
| commit | 22261f9e719a012efd871fe04138c3b6e4c8e88c (patch) | |
| tree | 8813899dde0b7b6f7373bbbbdfc5c2d696743b83 /src/common_memory.cpp | |
| parent | e0a97a628da7ba6346a1cf41be301022c26f3d72 (diff) | |
Fix `temporary_allocator`
Diffstat (limited to 'src/common_memory.cpp')
| -rw-r--r-- | src/common_memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common_memory.cpp b/src/common_memory.cpp index 0b95e1242..3658c0ffe 100644 --- a/src/common_memory.cpp +++ b/src/common_memory.cpp @@ -481,7 +481,7 @@ gb_internal gbAllocator permanent_allocator() { } gb_internal gbAllocator temporary_allocator() { - return {thread_arena_allocator_proc, cast(void *)cast(uintptr)ThreadArena_Permanent}; + return {thread_arena_allocator_proc, cast(void *)cast(uintptr)ThreadArena_Temporary}; } |