Kaynağa Gözat

fix hash_map

greatbridf 9 ay önce
ebeveyn
işleme
dd6a779790
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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,