aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-07-27 10:59:39 +0100
committergingerBill <bill@gingerbill.org>2021-07-27 10:59:39 +0100
commit116e98b37891091841976d1c70ec1fb39c439d8a (patch)
tree38be4a443bde7e40037c65a82cf08c5ab756f574 /src/common.cpp
parentae25787f48f4190a90428228c22faf6ae22d7365 (diff)
Improve default scope size
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.cpp b/src/common.cpp
index 018afd803..0e11ed5a6 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -605,7 +605,8 @@ GB_ALLOCATOR_PROC(temp_allocator_proc) {
gbAllocator temporary_allocator() {
- return {temp_allocator_proc, &temporary_allocator_data};
+ return permanent_allocator();
+ // return {temp_allocator_proc, &temporary_allocator_data};
}