diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-16 14:58:55 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-22 17:02:34 +0200 |
commit | ed8e56fa64bec6cb055b3d69022690a8a13d92ff (patch) | |
tree | c86132072b5bfc14df1ea3b70a5a2432b9579e4a /src/buildtool/main/main.cpp | |
parent | 8f3a09e42d25f533e9d9a007125a7661cef3b653 (diff) | |
download | justbuild-ed8e56fa64bec6cb055b3d69022690a8a13d92ff.tar.gz |
Convert HashFunction to a regular class
Diffstat (limited to 'src/buildtool/main/main.cpp')
-rw-r--r-- | src/buildtool/main/main.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp index 9f10b8bc..b089e321 100644 --- a/src/buildtool/main/main.cpp +++ b/src/buildtool/main/main.cpp @@ -259,12 +259,6 @@ void SetupExecutionServiceConfig(ServiceArguments const& args) { } } -void SetupHashFunction() { - HashFunction::Instance().SetHashType( - Compatibility::IsCompatible() ? HashFunction::JustHash::Compatible - : HashFunction::JustHash::Native); -} - void SetupFileChunker() { FileChunker::Initialize(); } @@ -797,7 +791,6 @@ auto main(int argc, char* argv[]) -> int { */ GitContext::Create(); - SetupHashFunction(); SetupFileChunker(); if (arguments.cmd == SubCommand::kGc) { |