ktprime / emhash

Fast and memory efficient c++ flat hash map/set
MIT License
435 stars 30 forks source link

fix a compile error #23

Closed blueloveTH closed 1 year ago

blueloveTH commented 1 year ago

With #define EMH_WYHASH_HASH 1 enabled, the static function wyhashstr calls wymix. However, wymix is not declared as static, causing a compile error. This commit adds static into wymix.