This commit is contained in:
gabime 2018-01-12 14:09:07 +02:00
parent 751520f0cf
commit 5372d58adc

View File

@ -362,7 +362,9 @@ inline size_t thread_id()
} }
// from https://github.com/gabime/spdlog/issues/609
// This is avoid msvc issue in sleep_for that happens if the clock changes.
// See https://github.com/gabime/spdlog/issues/609
inline void sleep_for_millis(int milliseconds) inline void sleep_for_millis(int milliseconds)
{ {
#if defined(_WIN32) #if defined(_WIN32)