From 4a9c4f50cc0ad0bcd4b26a027c4e80d5d43c9f9d Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 22 Jul 2024 16:05:53 +0200 Subject: just-mr: Use statistics and progress instances update map ...instead of using the singletons. --- src/other_tools/ops_maps/git_update_map.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/other_tools/ops_maps/git_update_map.hpp') diff --git a/src/other_tools/ops_maps/git_update_map.hpp b/src/other_tools/ops_maps/git_update_map.hpp index 4b043284..cdb9e55a 100644 --- a/src/other_tools/ops_maps/git_update_map.hpp +++ b/src/other_tools/ops_maps/git_update_map.hpp @@ -20,9 +20,12 @@ #include #include +#include "gsl/gsl" #include "src/buildtool/multithreading/async_map_consumer.hpp" #include "src/buildtool/storage/config.hpp" #include "src/other_tools/git_operations/git_repo_remote.hpp" +#include "src/other_tools/just_mr/progress_reporting/progress.hpp" +#include "src/other_tools/just_mr/progress_reporting/statistics.hpp" #include "src/utils/cpp/hash_combine.hpp" struct RepoDescriptionForUpdating { @@ -57,6 +60,8 @@ struct hash { std::string const& git_bin, std::vector const& launcher, gsl::not_null const& storage_config, + gsl::not_null const& stats, + gsl::not_null const& progress, std::size_t jobs) -> GitUpdateMap; #endif // INCLUDED_SRC_OTHER_TOOLS_OPS_MAPS_GIT_UPDATE_MAP_HPP -- cgit v1.2.3