From 85de022c5671d777f62ddff254a814dab05242fc Mon Sep 17 00:00:00 2001 From: Lee Cannon Date: Fri, 29 Oct 2021 00:37:25 +0100 Subject: allocgate: std Allocator interface refactor --- lib/std/buf_map.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/std/buf_map.zig') diff --git a/lib/std/buf_map.zig b/lib/std/buf_map.zig index 1e4462e6ae..5b26ae9684 100644 --- a/lib/std/buf_map.zig +++ b/lib/std/buf_map.zig @@ -14,7 +14,7 @@ pub const BufMap = struct { /// Create a BufMap backed by a specific allocator. /// That allocator will be used for both backing allocations /// and string deduplication. - pub fn init(allocator: *Allocator) BufMap { + pub fn init(allocator: Allocator) BufMap { var self = BufMap{ .hash_map = BufMapHashMap.init(allocator) }; return self; } -- cgit v1.2.3