We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a271eb2 commit 5c6f341Copy full SHA for 5c6f341
stdlib/public/Concurrency/Clock.cpp
@@ -188,8 +188,8 @@ switch (clock_id) {
188
#elif WE_HAVE_STD_CHRONO
189
auto num = std::chrono::steady_clock::period::num;
190
auto den = std::chrono::steady_clock::period::den;
191
- continuous.tv_sec = num / den;
192
- continuous.tv_nsec = (num * 1'000'000'000ll) % den
+ suspending.tv_sec = num / den;
+ suspending.tv_nsec = (num * 1'000'000'000ll) % den
193
#else
194
#error Missing platform suspending time definition
195
#endif
0 commit comments