Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Nov 12, 2023
1 parent 092886d commit 61decca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/usage_clock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace util {
return time_point(std::chrono::seconds(usage.ru_utime.tv_sec)
+ std::chrono::microseconds(usage.ru_utime.tv_usec));
}
return time_point{};
return {};
}

kernel_cpu_clock::time_point kernel_cpu_clock::now() noexcept {
Expand All @@ -23,7 +23,7 @@ namespace util {
return time_point(std::chrono::seconds(usage.ru_stime.tv_sec)
+ std::chrono::microseconds(usage.ru_stime.tv_usec));
}
return time_point{};
return {};
}

} // namespace util
Expand Down

0 comments on commit 61decca

Please sign in to comment.