aboutsummaryrefslogtreecommitdiff
path: root/std/debug/index.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-02-12 02:27:02 -0500
committerAndrew Kelley <superjoe30@gmail.com>2018-02-12 02:44:31 -0500
commit4a4ea92cf38372dc63184957e2936fa7989743fb (patch)
tree94866dbdde8065d23016ed23f2dc09af18ed85da /std/debug/index.zig
parent445b03384a5ffcace11927aa9dd5f21604527f5c (diff)
downloadzig-4a4ea92cf38372dc63184957e2936fa7989743fb.tar.gz
zig-4a4ea92cf38372dc63184957e2936fa7989743fb.zip
remove std.heap.IncrementingAllocator
Use std.heap.FixedBufferAllocator combined with std.heap.DirectAllocator instead. std.mem.FixedBufferAllocator is moved to std.heap.FixedBufferAllocator
Diffstat (limited to 'std/debug/index.zig')
-rw-r--r--std/debug/index.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/debug/index.zig b/std/debug/index.zig
index 5426a197f2..df1a1c5041 100644
--- a/std/debug/index.zig
+++ b/std/debug/index.zig
@@ -1078,5 +1078,5 @@ fn readILeb128(in_stream: var) !i64 {
}
pub const global_allocator = &global_fixed_allocator.allocator;
-var global_fixed_allocator = mem.FixedBufferAllocator.init(global_allocator_mem[0..]);
+var global_fixed_allocator = std.heap.FixedBufferAllocator.init(global_allocator_mem[0..]);
var global_allocator_mem: [100 * 1024]u8 = undefined;