aboutsummaryrefslogtreecommitdiff
path: root/src/hash_map.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash_map.zig')
-rw-r--r--src/hash_map.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash_map.zig b/src/hash_map.zig
index 7153795f2..69c56997c 100644
--- a/src/hash_map.zig
+++ b/src/hash_map.zig
@@ -688,7 +688,7 @@ pub fn HashMapUnmanaged(
}
pub fn getOrPutAssumeCapacity(self: *Self, key: K) GetOrPutResult {
- return self.getOrPutAssumeCapacityWithHash(key, hashFn(key));
+ return @call(.{ .modifier = .always_inline }, Self.getOrPutAssumeCapacityWithHash, .{ self, key, hashFn(key) });
}
pub fn getOrPutAssumeCapacityWithHash(self: *Self, key: K, hash: u64) GetOrPutResult {