diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-06-26 09:38:36 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-06-27 11:24:20 +0200 |
commit | 76badf37b88c23081db72c206445d5f0bf4e28a4 (patch) | |
tree | 2376106b12c7664f80d9195e41371d3d31d0988d /src/other_tools/root_maps/commit_git_map.hpp | |
parent | 915d3f2b0119f8bd31d026e686dbaf9124186e61 (diff) | |
download | justbuild-76badf37b88c23081db72c206445d5f0bf4e28a4.tar.gz |
Pass ServeApi to just-mr maps by raw pointer
...since it is used for capturing in lambdas for AsyncMaps and mustn't be temporary.
Diffstat (limited to 'src/other_tools/root_maps/commit_git_map.hpp')
-rw-r--r-- | src/other_tools/root_maps/commit_git_map.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other_tools/root_maps/commit_git_map.hpp b/src/other_tools/root_maps/commit_git_map.hpp index 14766018..78c67800 100644 --- a/src/other_tools/root_maps/commit_git_map.hpp +++ b/src/other_tools/root_maps/commit_git_map.hpp @@ -81,7 +81,7 @@ using CommitGitMap = MirrorsPtr const& additional_mirrors, std::string const& git_bin, std::vector<std::string> const& launcher, - std::optional<ServeApi> const& serve, + ServeApi const* serve, gsl::not_null<IExecutionApi const*> const& local_api, IExecutionApi const* remote_api, bool fetch_absent, |