mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
hashset.hpp
This commit is contained in:
parent
2d89e4675f
commit
b40efff031
1 changed files with 8 additions and 1 deletions
|
|
@ -43,7 +43,14 @@ vt_hash_const_string(const char *key_)
|
|||
return hash;
|
||||
}
|
||||
|
||||
|
||||
static
|
||||
inline
|
||||
bool
|
||||
vt_cmpr_const_string(const char *key_1,
|
||||
const char *key_2)
|
||||
{
|
||||
return (strcmp(key_1,key_2) == 0);
|
||||
}
|
||||
|
||||
class HashSet
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue