mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 14:36:36 -05:00
hashset.hpp
This commit is contained in:
parent
cfb53af882
commit
7b1ba40d49
1 changed files with 2 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
#include "wyhash.h"
|
||||
|
||||
#define NAME str_set
|
||||
#define KEY_TY char*
|
||||
#define KEY_TY const char*
|
||||
#define HASH_FN vt_hash_string
|
||||
#define CMPR_FN vt_cmpr_string
|
||||
#include "verstable.h"
|
||||
|
|
@ -52,6 +52,7 @@ public:
|
|||
size_t size;
|
||||
str_set_itr itr;
|
||||
|
||||
size =
|
||||
itr = str_set_get_or_insert(&_str_set,str_);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue