ktprime / emhash

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

Fix compiling hash_table8.hpp when EMH_WYHASH_HASH is enabled #35

Closed GloriousPtr closed 1 year ago

GloriousPtr commented 1 year ago

Fix: hash_table8.hpp(1716,25): error C2864: 'emhash8::HashMap<KeyT,ValueT,HashT,EqT>::secret': a static data member with an in-class initializer must have non-volatile const integral type or be specified as 'inline'