summaryrefslogtreecommitdiff
path: root/src/buildtool/common/tree.hpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-06-14 18:41:53 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2022-06-20 15:23:02 +0200
commit1ea0b1d9ff98d8c44658046019c94f5952ad5c66 (patch)
treea4f8b95b249f55f6e5c042319f65e0a50d1785a3 /src/buildtool/common/tree.hpp
parent7bfe61079b0355d260b977193e3b05be969ca068 (diff)
downloadjustbuild-1ea0b1d9ff98d8c44658046019c94f5952ad5c66.tar.gz
Crypto: Add and use set of globally used hash functions
Diffstat (limited to 'src/buildtool/common/tree.hpp')
-rw-r--r--src/buildtool/common/tree.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/common/tree.hpp b/src/buildtool/common/tree.hpp
index 6b76f8f1..cbfe721c 100644
--- a/src/buildtool/common/tree.hpp
+++ b/src/buildtool/common/tree.hpp
@@ -67,7 +67,8 @@ class Tree {
}
static auto ComputeId(inputs_t const& inputs) -> std::string {
- return ComputeHash(ComputeDescription(inputs).dump());
+ return HashFunction::ComputeHash(ComputeDescription(inputs).dump())
+ .HexString();
}
};