Browse Source

fix hash_map

greatbridf 9 tháng trước cách đây
mục cha
commit
dd6a779790
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,