authorgravatar for robin@voetter.nlRobin Voetter <robin@voetter.nl> 2022-04-19 23:27:34+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-04-19 19:41:12-04:00
log859ae152bc83ca759f466794b8186fa0d3de5060
tree66b729bce443257c5557f04f454f24278b74727c
parent0c5ad335d293be638b8d34e671cf62f84b0babce

array hash map: fix getOrPutAdapted on Managed array hash map


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/array_hash_map.zig+1-1
......@@ -185,7 +185,7 @@ pub fn ArrayHashMap(
185185 return self.unmanaged.getOrPutContext(self.allocator, key, self.ctx);
186186 }
187187 pub fn getOrPutAdapted(self: *Self, key: anytype, ctx: anytype) !GetOrPutResult {
188 return self.unmanaged.getOrPutContextAdapted(key, ctx, self.ctx);
188 return self.unmanaged.getOrPutContextAdapted(self.allocator, key, ctx, self.ctx);
189189 }
190190
191191 /// If there is an existing item with `key`, then the result