From 7b0a91b901ee44ef3cfae9bc9fc7de08d483e592 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 14 Mar 2024 11:07:14 +0100 Subject: graph traverser: Be explicit in logging location --- src/buildtool/progress_reporting/progress_reporter.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/buildtool/progress_reporting/progress_reporter.hpp') diff --git a/src/buildtool/progress_reporting/progress_reporter.hpp b/src/buildtool/progress_reporting/progress_reporter.hpp index 1c4206de..13136579 100644 --- a/src/buildtool/progress_reporting/progress_reporter.hpp +++ b/src/buildtool/progress_reporting/progress_reporter.hpp @@ -17,14 +17,15 @@ #include "gsl/gsl" #include "src/buildtool/common/statistics.hpp" +#include "src/buildtool/logging/logger.hpp" #include "src/buildtool/progress_reporting/base_progress_reporter.hpp" #include "src/buildtool/progress_reporting/progress.hpp" class ProgressReporter { public: - [[nodiscard]] static auto Reporter( - gsl::not_null const& stats, - gsl::not_null const& progress) noexcept + [[nodiscard]] static auto Reporter(gsl::not_null const& stats, + gsl::not_null const& progress, + Logger const* logger = nullptr) noexcept -> progress_reporter_t; }; -- cgit v1.2.3