diff --git a/lib/std/array_hash_map.zig b/lib/std/array_hash_map.zig index aed60a1f0d2c0b94739e2c7c81060dd1057881aa..31860963afe982768449e1745f6793f76dc25d69 100644 --- a/lib/std/array_hash_map.zig +++ b/lib/std/array_hash_map.zig @@ -185,7 +185,7 @@ pub fn ArrayHashMap( return self.unmanaged.getOrPutContext(self.allocator, key, self.ctx); } pub fn getOrPutAdapted(self: *Self, key: anytype, ctx: anytype) !GetOrPutResult { - return self.unmanaged.getOrPutContextAdapted(key, ctx, self.ctx); + return self.unmanaged.getOrPutContextAdapted(self.allocator, key, ctx, self.ctx); } /// If there is an existing item with `key`, then the result