diff --git a/src/hashmap.h b/src/hashmap.h index 6b3ccb79..a8ac695a 100644 --- a/src/hashmap.h +++ b/src/hashmap.h @@ -132,10 +132,9 @@ namespace CTSL //Concurrent Thread Safe Library #endif } - void resize(size_t o) + void resize(size_t size) { - // TODO - o = o; + hashSize = size; return; } @@ -238,7 +237,7 @@ namespace CTSL //Concurrent Thread Safe Library #else F hashFn; #endif - const hashFn hashSize; + hashFn hashSize; #ifdef DISABLE_HASHBUCKET #ifndef HASHMAP_NOLOCK mutable std::shared_timed_mutex mutex_;