aboutsummaryrefslogtreecommitdiff
path: root/src/common_memory.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-09-14 17:24:22 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-09-14 17:24:22 +0100
commit7db57e2d9c7d6032334d73f1056478fa23ee4b3a (patch)
tree3694681ec0f848b1e84048e10fd81fb03fc4b796 /src/common_memory.cpp
parent22261f9e719a012efd871fe04138c3b6e4c8e88c (diff)
Temporarily disable `TEMPORARY_ALLOCATOR_GUARD`
Diffstat (limited to 'src/common_memory.cpp')
-rw-r--r--src/common_memory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common_memory.cpp b/src/common_memory.cpp
index 3658c0ffe..f169d7974 100644
--- a/src/common_memory.cpp
+++ b/src/common_memory.cpp
@@ -488,8 +488,8 @@ gb_internal gbAllocator temporary_allocator() {
#define TEMP_ARENA_GUARD(arena) ArenaTempGuard GB_DEFER_3(_arena_guard_){arena}
-// #define TEMPORARY_ALLOCATOR_GUARD()
-#define TEMPORARY_ALLOCATOR_GUARD() TEMP_ARENA_GUARD(get_arena(ThreadArena_Temporary))
+// #define TEMPORARY_ALLOCATOR_GUARD() TEMP_ARENA_GUARD(get_arena(ThreadArena_Temporary))
+#define TEMPORARY_ALLOCATOR_GUARD()
#define PERMANENT_ALLOCATOR_GUARD()