Browse Source

fix hash_map

greatbridf 9 months ago
parent
commit
dd6a779790
1 changed files with 1 additions and 1 deletions
  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,