use a type alias for ProgressBar's chosen time point type
Change-Id: I621a455b1daba806fc498958aee7931fbfc55445
This commit is contained in:
parent
f9594b592b
commit
8ba1939540
1 changed files with 3 additions and 1 deletions
|
@ -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