diff options
Diffstat (limited to 'src/libmain')
-rw-r--r-- | src/libmain/progress-bar.hh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libmain/progress-bar.hh b/src/libmain/progress-bar.hh index 1ac7ba97b..76e2ed4ff 100644 --- a/src/libmain/progress-bar.hh +++ b/src/libmain/progress-bar.hh @@ -13,9 +13,8 @@ constexpr const auto A_LONG_TIME = std::chrono::duration_cast<std::chrono::milli 100 * 365 * std::chrono::seconds(86400) ); -class ProgressBar : public Logger +struct ProgressBar : public Logger { -private: struct ActInfo { using TimePoint = std::chrono::time_point<std::chrono::steady_clock>; @@ -66,8 +65,6 @@ private: bool printBuildLogs = false; bool isTTY; -public: - ProgressBar(bool isTTY) : isTTY(isTTY) { |