소스 검색

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,