diff options
Diffstat (limited to 'src/other_tools/ops_maps/archive_fetch_map.cpp')
-rw-r--r-- | src/other_tools/ops_maps/archive_fetch_map.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/other_tools/ops_maps/archive_fetch_map.cpp b/src/other_tools/ops_maps/archive_fetch_map.cpp index bf655dfd..883ffa76 100644 --- a/src/other_tools/ops_maps/archive_fetch_map.cpp +++ b/src/other_tools/ops_maps/archive_fetch_map.cpp @@ -29,8 +29,8 @@ namespace { void ProcessContent( std::filesystem::path const& content_path, std::filesystem::path const& target_name, - gsl::not_null<IExecutionApi*> const& local_api, - std::optional<gsl::not_null<IExecutionApi*>> const& remote_api, + gsl::not_null<IExecutionApi const*> const& local_api, + std::optional<gsl::not_null<IExecutionApi const*>> const& remote_api, std::string const& content, ArchiveFetchMap::SetterPtr const& setter, ArchiveFetchMap::LoggerPtr const& logger) { @@ -71,8 +71,8 @@ void ProcessContent( auto CreateArchiveFetchMap( gsl::not_null<ContentCASMap*> const& content_cas_map, std::filesystem::path const& fetch_dir, - gsl::not_null<IExecutionApi*> const& local_api, - std::optional<gsl::not_null<IExecutionApi*>> const& remote_api, + gsl::not_null<IExecutionApi const*> const& local_api, + std::optional<gsl::not_null<IExecutionApi const*>> const& remote_api, std::size_t jobs) -> ArchiveFetchMap { auto fetch_archive = [content_cas_map, fetch_dir, local_api, remote_api]( auto ts, |