diff --git a/src/hashmap.h b/src/hashmap.h index a8ac695a..9cd4227a 100644 --- a/src/hashmap.h +++ b/src/hashmap.h @@ -134,6 +134,12 @@ namespace CTSL //Concurrent Thread Safe Library void resize(size_t size) { + // TODO + if (size < 0x2000000) { + // New size is too small, do not resize + return; + } + hashSize = size; return; }