aboutsummaryrefslogtreecommitdiff
path: root/src/string.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-10-23 14:46:52 +0100
committerGinger Bill <bill@gingerbill.org>2016-10-23 14:46:52 +0100
commitbd5d095de4a3a3de574f6004751718ee944417cc (patch)
tree0eaceb775794fe21073c2b4159287ae08b99c3e3 /src/string.cpp
parentf60dc7b0a7f8bf8122df0fa3b4d12603a9775f87 (diff)
Separate ssa_struct_gep and ssa_array_gep procedures
Diffstat (limited to 'src/string.cpp')
-rw-r--r--src/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.cpp b/src/string.cpp
index 7d94f9636..d62a0e900 100644
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -3,7 +3,7 @@ gb_global gbAllocator string_buffer_allocator = {};
void init_string_buffer_memory(void) {
// NOTE(bill): This should be enough memory for file systems
- gb_arena_init_from_allocator(&string_buffer_arena, gb_heap_allocator(), gb_megabytes(1));
+ gb_arena_init_from_allocator(&string_buffer_arena, heap_allocator(), gb_megabytes(1));
string_buffer_allocator = gb_arena_allocator(&string_buffer_arena);
}