From d33e9a4f9f5a30711aa673f35f0b31bfb3f1b7c8 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 15 Jul 2024 15:01:55 +0200 Subject: Use a fixed HashFunction in ReposToSetupMap --- src/other_tools/repo_map/repos_to_setup_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/other_tools/repo_map') diff --git a/src/other_tools/repo_map/repos_to_setup_map.cpp b/src/other_tools/repo_map/repos_to_setup_map.cpp index d3519a27..5bcfd717 100644 --- a/src/other_tools/repo_map/repos_to_setup_map.cpp +++ b/src/other_tools/repo_map/repos_to_setup_map.cpp @@ -592,7 +592,7 @@ void DistdirCheckout(ExpressionPtr const& repo_desc, } // get hash of distdir content auto distdir_content_id = - HashFunction::Instance() + HashFunction{HashFunction::JustHash::Native} .ComputeBlobHash(nlohmann::json(*distdir_content_for_id).dump()) .HexString(); // get the WS root as git tree -- cgit v1.2.3