Fully qualified std::this_thread::yield()

This commit is contained in:
osx2000 2016-11-11 14:27:07 +01:00 committed by GitHub
parent 9ccb6af2bd
commit e9fc4ac095
1 changed files with 1 additions and 1 deletions

View File

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