From ed8e56fa64bec6cb055b3d69022690a8a13d92ff Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 16 Jul 2024 14:58:55 +0200 Subject: Convert HashFunction to a regular class --- test/utils/remote_execution/main-remote-execution.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'test/utils/remote_execution/main-remote-execution.cpp') diff --git a/test/utils/remote_execution/main-remote-execution.cpp b/test/utils/remote_execution/main-remote-execution.cpp index 05aec296..45021c61 100644 --- a/test/utils/remote_execution/main-remote-execution.cpp +++ b/test/utils/remote_execution/main-remote-execution.cpp @@ -21,8 +21,6 @@ #include "catch2/catch_session.hpp" #include "catch2/catch_test_macros.hpp" -#include "src/buildtool/compatibility/compatibility.hpp" -#include "src/buildtool/crypto/hash_function.hpp" #include "src/buildtool/execution_api/remote/config.hpp" #include "src/buildtool/file_system/file_system_manager.hpp" #include "src/buildtool/file_system/git_context.hpp" @@ -51,10 +49,6 @@ void ConfigureRemoteExecution() { std::exit(EXIT_FAILURE); } - HashFunction::Instance().SetHashType( - Compatibility::IsCompatible() ? HashFunction::JustHash::Compatible - : HashFunction::JustHash::Native); - auto remote_config = TestRemoteConfig::ReadFromEnvironment(); if (not remote_config or remote_config->remote_address == std::nullopt) { std::exit(EXIT_FAILURE); -- cgit v1.2.3