From 5372d58adc2378fbea58bbdbe527a72aa16fe8ef Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 12 Jan 2018 14:09:07 +0200 Subject: [PATCH] comment --- include/spdlog/details/os.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/spdlog/details/os.h b/include/spdlog/details/os.h index a97d6af6..b881cae4 100644 --- a/include/spdlog/details/os.h +++ b/include/spdlog/details/os.h @@ -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) { #if defined(_WIN32)