Skip to content

Commit

Permalink
Fully qualify
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Aug 9, 2024
1 parent 1ffa07f commit 4e2d782
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 @@ -33,8 +33,8 @@ namespace NUClear {
namespace util {

cpu_clock::time_point cpu_clock::now() noexcept {
timespec ts{};
clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts);
::timespec ts{};
::clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts);
return time_point(std::chrono::seconds(ts.tv_sec) + std::chrono::nanoseconds(ts.tv_nsec));
}

Expand Down

0 comments on commit 4e2d782

Please sign in to comment.