diff --git a/build_arm64/dehydrate b/build_arm64/dehydrate index fc1dfcc..a10e4b3 100755 Binary files a/build_arm64/dehydrate and b/build_arm64/dehydrate differ diff --git a/src/generator.cpp b/src/generator.cpp index 5c61239..db5088f 100644 --- a/src/generator.cpp +++ b/src/generator.cpp @@ -126,7 +126,6 @@ void generate_folder_code(const std::string& source, const std::string& destfold #include #include #include -#include "xxhash.hpp" )cpp"; cpp << "#include \"" << hppname << "\"\n"; cpp << "namespace " << ns << " {\n"; @@ -169,7 +168,7 @@ bool recreate_tree(std::string destination_folder) { std::ifstream in(outpath, std::ios::binary); std::ostringstream oss; oss << in.rdbuf(); std::string data = oss.str(); - uint64_t h = XXH3_64bits(data.data(), data.size()); + uint64_t h = fnv1a_64(data.data(), data.size()); std::ostringstream hex; hex << std::hex << std::setw(16) << std::setfill('0') << h; existing_hash = hex.str();