From 76badf37b88c23081db72c206445d5f0bf4e28a4 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Wed, 26 Jun 2024 09:38:36 +0200 Subject: Pass ServeApi to just-mr maps by raw pointer ...since it is used for capturing in lambdas for AsyncMaps and mustn't be temporary. --- src/other_tools/root_maps/content_git_map.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/other_tools/root_maps/content_git_map.hpp') diff --git a/src/other_tools/root_maps/content_git_map.hpp b/src/other_tools/root_maps/content_git_map.hpp index 4a20f98b..959edaa9 100644 --- a/src/other_tools/root_maps/content_git_map.hpp +++ b/src/other_tools/root_maps/content_git_map.hpp @@ -43,7 +43,7 @@ using ContentGitMap = CAInfoPtr const& ca_info, gsl::not_null const& resolve_symlinks_map, gsl::not_null const& critical_git_op_map, - std::optional const& serve, + ServeApi const* serve, IExecutionApi const* remote_api, bool fetch_absent, std::size_t jobs) -> ContentGitMap; -- cgit v1.2.3