diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-06-24 17:36:49 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-06-25 13:59:48 +0200 |
commit | 2ad759136ae9f39e1842ef80779dfe127a19beba (patch) | |
tree | 4ad0382f2c4c57951b71aeb7164522b58e5330f9 /src/other_tools/root_maps/content_git_map.cpp | |
parent | e5ca9113797a23824dd4545d93221bd6379dd692 (diff) | |
download | justbuild-2ad759136ae9f39e1842ef80779dfe127a19beba.tar.gz |
Use constant IExecutionApi in just-mr maps
Diffstat (limited to 'src/other_tools/root_maps/content_git_map.cpp')
-rw-r--r-- | src/other_tools/root_maps/content_git_map.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/other_tools/root_maps/content_git_map.cpp b/src/other_tools/root_maps/content_git_map.cpp index f014a227..4052b963 100644 --- a/src/other_tools/root_maps/content_git_map.cpp +++ b/src/other_tools/root_maps/content_git_map.cpp @@ -56,7 +56,7 @@ void EnsureRootAsAbsent( std::string const& tree_id, ArchiveRepoInfo const& key, std::optional<ServeApi> const& serve, - std::optional<gsl::not_null<IExecutionApi*>> const& remote_api, + std::optional<gsl::not_null<IExecutionApi const*>> const& remote_api, bool is_cache_hit, ContentGitMap::SetterPtr const& ws_setter, ContentGitMap::LoggerPtr const& logger) { @@ -176,7 +176,7 @@ void ResolveContentTree( bool is_cache_hit, bool is_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, gsl::not_null<CriticalGitOpMap*> const& critical_git_op_map, gsl::not_null<ResolveSymlinksMap*> const& resolve_symlinks_map, gsl::not_null<TaskSystem*> const& ts, @@ -365,7 +365,7 @@ void WriteIdFileAndSetWSRoot( std::filesystem::path const& archive_tree_id_file, bool is_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, gsl::not_null<CriticalGitOpMap*> const& critical_git_op_map, gsl::not_null<ResolveSymlinksMap*> const& resolve_symlinks_map, gsl::not_null<TaskSystem*> const& ts, @@ -426,7 +426,7 @@ void ExtractAndImportToGit( std::filesystem::path const& archive_tree_id_file, bool is_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, gsl::not_null<CriticalGitOpMap*> const& critical_git_op_map, gsl::not_null<ImportToGitMap*> const& import_to_git_map, gsl::not_null<ResolveSymlinksMap*> const& resolve_symlinks_map, @@ -510,7 +510,7 @@ auto CreateContentGitMap( gsl::not_null<ResolveSymlinksMap*> const& resolve_symlinks_map, gsl::not_null<CriticalGitOpMap*> const& critical_git_op_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, bool fetch_absent, std::size_t jobs) -> ContentGitMap { auto gitify_content = [content_cas_map, |