浏览代码

fix hash_map

greatbridf 9 月之前
父节点
当前提交
dd6a779790
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/types/hash_map.hpp

+ 1 - 1
include/types/hash_map.hpp

@@ -68,7 +68,7 @@ inline hash_t hash(const char* str, std::size_t bits)
         while (*str)
             hash = hash * seed + (*str++);
 
-        return hash32(hash, bits);
+        return hash64(hash, bits);
 };
 
 template <template <typename, typename, typename> typename String,