allocgate: renamed getAllocator function to allocator

This commit is contained in:
Lee Cannon
2021-10-29 02:08:41 +01:00
parent 75548b50ff
commit 1093b09a98
77 changed files with 202 additions and 207 deletions
+1 -1
View File
@@ -284,7 +284,7 @@ const LibCVendor = enum {
pub fn main() !void {
var arena = std.heap.ArenaAllocator.init(std.heap.page_allocator);
const allocator = arena.getAllocator();
const allocator = arena.allocator();
const args = try std.process.argsAlloc(allocator);
var search_paths = std.ArrayList([]const u8).init(allocator);
var opt_out_dir: ?[]const u8 = null;