forked from lix-project/lix
use a type alias for ProgressBar's chosen time point type
Change-Id: I621a455b1daba806fc498958aee7931fbfc55445
This commit is contained in:
parent
51336e3bf4
commit
c93129761d
|
@ -18,6 +18,8 @@ class ProgressBar : public Logger
|
|||
private:
|
||||
struct ActInfo
|
||||
{
|
||||
using TimePoint = std::chrono::time_point<std::chrono::steady_clock>;
|
||||
|
||||
std::string s, lastLine, phase;
|
||||
ActivityType type = actUnknown;
|
||||
uint64_t done = 0;
|
||||
|
@ -28,7 +30,7 @@ private:
|
|||
bool visible = true;
|
||||
ActivityId parent;
|
||||
std::optional<std::string> name;
|
||||
std::chrono::time_point<std::chrono::steady_clock> startTime;
|
||||
TimePoint startTime;
|
||||
};
|
||||
|
||||
struct ActivitiesByType
|
||||
|
|
Loading…
Reference in a new issue