summaryrefslogtreecommitdiff
path: root/src/other_tools/root_maps/fpath_git_map.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-06-24 17:36:49 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-06-25 13:59:48 +0200
commit2ad759136ae9f39e1842ef80779dfe127a19beba (patch)
tree4ad0382f2c4c57951b71aeb7164522b58e5330f9 /src/other_tools/root_maps/fpath_git_map.cpp
parente5ca9113797a23824dd4545d93221bd6379dd692 (diff)
downloadjustbuild-2ad759136ae9f39e1842ef80779dfe127a19beba.tar.gz
Use constant IExecutionApi in just-mr maps
Diffstat (limited to 'src/other_tools/root_maps/fpath_git_map.cpp')
-rw-r--r--src/other_tools/root_maps/fpath_git_map.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/other_tools/root_maps/fpath_git_map.cpp b/src/other_tools/root_maps/fpath_git_map.cpp
index 6fa4b183..43cb0c24 100644
--- a/src/other_tools/root_maps/fpath_git_map.cpp
+++ b/src/other_tools/root_maps/fpath_git_map.cpp
@@ -38,7 +38,7 @@ void CheckServeAndSetRoot(
std::string const& repo_root,
bool absent,
std::optional<ServeApi> const& serve,
- std::optional<gsl::not_null<IExecutionApi*>> const& remote_api,
+ std::optional<gsl::not_null<IExecutionApi const*>> const& remote_api,
FilePathGitMap::SetterPtr const& ws_setter,
FilePathGitMap::LoggerPtr const& logger) {
// if serve endpoint is given, try to ensure it has this tree available to
@@ -102,7 +102,7 @@ void ResolveFilePathTree(
gsl::not_null<CriticalGitOpMap*> const& critical_git_op_map,
gsl::not_null<ResolveSymlinksMap*> const& resolve_symlinks_map,
std::optional<ServeApi> const& serve,
- std::optional<gsl::not_null<IExecutionApi*>> const& remote_api,
+ std::optional<gsl::not_null<IExecutionApi const*>> const& remote_api,
gsl::not_null<TaskSystem*> const& ts,
FilePathGitMap::SetterPtr const& ws_setter,
FilePathGitMap::LoggerPtr const& logger) {
@@ -256,7 +256,7 @@ auto CreateFilePathGitMap(
gsl::not_null<ImportToGitMap*> const& import_to_git_map,
gsl::not_null<ResolveSymlinksMap*> const& resolve_symlinks_map,
std::optional<ServeApi> const& serve,
- std::optional<gsl::not_null<IExecutionApi*>> const& remote_api,
+ std::optional<gsl::not_null<IExecutionApi const*>> const& remote_api,
std::size_t jobs,
std::string multi_repo_tool_name,
std::string build_tool_name) -> FilePathGitMap {