Fully qualified std::this_thread::yield()

pull/314/head
osx2000 9 years ago committed by GitHub
parent 9ccb6af2bd
commit e9fc4ac095

@ -359,7 +359,7 @@ inline void spdlog::details::async_log_helper::sleep_or_yield(const spdlog::log_
// yield upto 150 micros // yield upto 150 micros
if (time_since_op <= microseconds(100)) if (time_since_op <= microseconds(100))
return yield(); return std::this_thread::yield();
// sleep for 20 ms upto 200 ms // sleep for 20 ms upto 200 ms

Loading…
Cancel
Save