From ec447408d17c530ce2023d8148dd34a6d8138535 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 11 Jun 2024 16:07:50 +0200 Subject: Pass ServeApi to just-mr maps by reference ...instead of using singleton calls. --- src/other_tools/root_maps/fpath_git_map.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/other_tools/root_maps/fpath_git_map.hpp') diff --git a/src/other_tools/root_maps/fpath_git_map.hpp b/src/other_tools/root_maps/fpath_git_map.hpp index 398e9c3c..362b5a4b 100644 --- a/src/other_tools/root_maps/fpath_git_map.hpp +++ b/src/other_tools/root_maps/fpath_git_map.hpp @@ -25,6 +25,7 @@ #include "src/buildtool/execution_api/common/execution_api.hpp" #include "src/buildtool/file_system/symlinks_map/pragma_special.hpp" #include "src/buildtool/file_system/symlinks_map/resolve_symlinks_map.hpp" +#include "src/buildtool/serve_api/remote/serve_api.hpp" #include "src/other_tools/just_mr/utils.hpp" #include "src/other_tools/ops_maps/import_to_git_map.hpp" #include "src/utils/cpp/hash_combine.hpp" @@ -53,7 +54,7 @@ using FilePathGitMap = AsyncMapConsumer; gsl::not_null const& critical_git_op_map, gsl::not_null const& import_to_git_map, gsl::not_null const& resolve_symlinks_map, - bool serve_api_exists, + std::optional> const& serve, std::optional> const& remote_api, std::size_t jobs, std::string multi_repo_tool_name, -- cgit v1.2.3