aboutsummaryrefslogtreecommitdiff
path: root/src/blob.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/blob.zig')
-rw-r--r--src/blob.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blob.zig b/src/blob.zig
index a4a187530..96a6c7783 100644
--- a/src/blob.zig
+++ b/src/blob.zig
@@ -42,14 +42,14 @@ pub const Map = struct {
pub fn get(this: *Map, key: string) ?Blob {
this.lock.lock();
defer this.lock.unlock();
- return this.map.get(std.hash.Wyhash.hash(0, key));
+ return this.map.get(bun.hash(key));
}
pub fn put(this: *Map, key: string, blob: Blob) !void {
this.lock.lock();
defer this.lock.unlock();
- return try this.map.put(std.hash.Wyhash.hash(0, key), blob);
+ return try this.map.put(bun.hash(key), blob);
}
pub fn reset(this: *Map) !void {