From 68670b5944cf06ce3c562b5205937e3793469d46 Mon Sep 17 00:00:00 2001 From: Martin Wickham Date: Mon, 6 Dec 2021 13:44:34 -0600 Subject: [PATCH] Upgrade for breaking stdlib allocator changes --- src/util.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.zig b/src/util.zig index 5a1b157..489fe08 100644 --- a/src/util.zig +++ b/src/util.zig @@ -7,7 +7,7 @@ const BitSet = std.DynamicBitSet; const Str = []const u8; var gpa_impl = std.heap.GeneralPurposeAllocator(.{}){}; -pub const gpa = &gpa_impl.allocator; +pub const gpa = gpa_impl.allocator(); // Add utility functions here