| ... | @@ -185,7 +185,7 @@ pub fn ArrayHashMap( | ... | @@ -185,7 +185,7 @@ pub fn ArrayHashMap( |
| 185 | return self.unmanaged.getOrPutContext(self.allocator, key, self.ctx); | 185 | return self.unmanaged.getOrPutContext(self.allocator, key, self.ctx); |
| 186 | } | 186 | } |
| 187 | pub fn getOrPutAdapted(self: *Self, key: anytype, ctx: anytype) !GetOrPutResult { | 187 | 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); |
| 189 | } | 189 | } |
| 190 | | 190 | |
| 191 | /// If there is an existing item with `key`, then the result | 191 | /// If there is an existing item with `key`, then the result |