hash: 将其他的64位定义改为由参数决定 (2)
This commit is contained in:
parent
da6696448e
commit
652ee7ce0d
|
@ -33,7 +33,7 @@ namespace CTSL //Concurrent Thread Safe Library
|
|||
class HashMap
|
||||
{
|
||||
public:
|
||||
HashMap(size_t hashSize_ = HASH_SIZE_DEFAULT) : hashSize(hashSize_)
|
||||
HashMap(hash_t hashSize_ = HASH_SIZE_DEFAULT) : hashSize(hashSize_)
|
||||
{
|
||||
#ifdef DISABLE_HASHBUCKET
|
||||
hashTable = new HashNode<K, V>[hashSize]; //create the hash table as an array of hash nodes
|
||||
|
|
Loading…
Reference in New Issue