2
0
Эх сурвалжийг харах

Fix `temporary_allocator`

gingerBill 21 цаг өмнө
parent
commit
22261f9e71
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/common_memory.cpp

+ 1 - 1
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};
 }