adapt http/headers.zig to wyhash's new interface

master
Sahnvour 2019-07-02 18:38:46 +02:00
parent 4c93ccab5a
commit 8805a7b509
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ fn stringEql(a: []const u8, b: []const u8) bool {
}
fn stringHash(s: []const u8) u32 {
return @truncate(u32, std.hash.wyhash(s, 0));
return @truncate(u32, std.hash.Wyhash.hash(0, s));
}
const HeaderList = std.ArrayList(HeaderEntry);