summaryrefslogtreecommitdiff
path: root/src/other_tools/ops_maps/archive_fetch_map.hpp
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/ops_maps/archive_fetch_map.hpp
parente5ca9113797a23824dd4545d93221bd6379dd692 (diff)
downloadjustbuild-2ad759136ae9f39e1842ef80779dfe127a19beba.tar.gz
Use constant IExecutionApi in just-mr maps
Diffstat (limited to 'src/other_tools/ops_maps/archive_fetch_map.hpp')
-rw-r--r--src/other_tools/ops_maps/archive_fetch_map.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/other_tools/ops_maps/archive_fetch_map.hpp b/src/other_tools/ops_maps/archive_fetch_map.hpp
index 7a676592..f6e3d987 100644
--- a/src/other_tools/ops_maps/archive_fetch_map.hpp
+++ b/src/other_tools/ops_maps/archive_fetch_map.hpp
@@ -29,8 +29,8 @@ using ArchiveFetchMap = AsyncMapConsumer<ArchiveContent, bool>;
[[nodiscard]] auto CreateArchiveFetchMap(
gsl::not_null<ContentCASMap*> const& content_cas_map,
std::filesystem::path const& fetch_dir, // should exist!
- 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;
#endif // INCLUDED_SRC_OTHER_TOOLS_OPS_MAPS_ARCHIVE_FETCH_MAP_HPP