summaryrefslogtreecommitdiff
path: root/src/other_tools/repo_map
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-07-15 15:01:55 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-07-22 17:01:13 +0200
commitd33e9a4f9f5a30711aa673f35f0b31bfb3f1b7c8 (patch)
treea60f05f6b2e55b781d4dbc4ed63c7cce4b2a8bb3 /src/other_tools/repo_map
parent1d23761d8e950a5439fafe6752b8a62b699a6a7a (diff)
downloadjustbuild-d33e9a4f9f5a30711aa673f35f0b31bfb3f1b7c8.tar.gz
Use a fixed HashFunction in ReposToSetupMap
Diffstat (limited to 'src/other_tools/repo_map')
-rw-r--r--src/other_tools/repo_map/repos_to_setup_map.cpp2
1 files changed, 1 insertions, 1 deletions
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