diff options
author | Qyriad <qyriad@qyriad.me> | 2024-06-22 02:04:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@localhost> | 2024-06-22 02:04:14 +0000 |
commit | 21865ccce0a5bf6edcb98a09b57b3f076ee9ba9f (patch) | |
tree | f5a047e858509a26594acb7cfd6b0f944509a2c4 /src/libmain | |
parent | 375f4c033753db2c20af398211e892ddc9d29ec1 (diff) | |
parent | fd250c51ed14132d79eb1329a4e679d41174e5b8 (diff) |
Merge "add a basic libmain test for the progress bar rendering" into main
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) { |