summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/common/execution_common.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_api/common/execution_common.hpp')
-rw-r--r--src/buildtool/execution_api/common/execution_common.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/common/execution_common.hpp b/src/buildtool/execution_api/common/execution_common.hpp
index 1cf198fe..1208fc99 100644
--- a/src/buildtool/execution_api/common/execution_common.hpp
+++ b/src/buildtool/execution_api/common/execution_common.hpp
@@ -89,7 +89,7 @@ static void EncodeUUIDVariant1(std::string* uuid) {
constexpr auto kHexDashPos = std::array{8UL, 12UL, 16UL, 20UL};
auto value = fmt::format("{}-{}", std::to_string(kRandomConstant), seed);
- auto uuid = HashGenerator{HashGenerator::HashType::SHA1}.Run(value).Bytes();
+ auto uuid = HashGenerator::Instance().Run(value).Bytes();
EncodeUUIDVersion4(&uuid);
EncodeUUIDVariant1(&uuid);
gsl_Expects(uuid.size() >= kRawLength);