mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-24 17:06:24 -05:00
hashset.hpp
This commit is contained in:
parent
9854d99432
commit
81a6f7f139
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ vt_hash_const_string(const char *key_)
|
|||
{
|
||||
uint64_t hash = 0xcbf29ce484222325ull;
|
||||
|
||||
while( *key )
|
||||
while( *key_ )
|
||||
hash = ( (unsigned char)*key++ ^ hash ) * 0x100000001b3ull;
|
||||
|
||||
return hash;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue