From 0aab4ee769211fa90e51926ae4411da29c1c0776 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Fri, 19 Jul 2024 15:43:07 +0200 Subject: just-mr: Use statistics instance in fetch map ...instead of using the singleton. --- src/other_tools/ops_maps/archive_fetch_map.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/other_tools/ops_maps/archive_fetch_map.hpp') diff --git a/src/other_tools/ops_maps/archive_fetch_map.hpp b/src/other_tools/ops_maps/archive_fetch_map.hpp index 772d59e4..fccc4bd4 100644 --- a/src/other_tools/ops_maps/archive_fetch_map.hpp +++ b/src/other_tools/ops_maps/archive_fetch_map.hpp @@ -22,6 +22,7 @@ #include "gsl/gsl" #include "src/buildtool/execution_api/common/execution_api.hpp" #include "src/buildtool/storage/storage.hpp" +#include "src/other_tools/just_mr/progress_reporting/statistics.hpp" #include "src/other_tools/ops_maps/content_cas_map.hpp" /// \brief Maps an archive content hash to a status flag. @@ -33,6 +34,7 @@ using ArchiveFetchMap = AsyncMapConsumer; gsl::not_null const& storage, gsl::not_null const& local_api, IExecutionApi const* remote_api, + gsl::not_null const& stats, std::size_t jobs) -> ArchiveFetchMap; #endif // INCLUDED_SRC_OTHER_TOOLS_OPS_MAPS_ARCHIVE_FETCH_MAP_HPP -- cgit v1.2.3