diff --git a/src/log.cpp b/src/log.cpp index b8ff7ab..6a6c220 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -160,7 +160,7 @@ private: #define putenv _putenv #endif - const uint32_t N = std::max(std::min(std::thread::hardware_concurrency(), 4U), 8U); + const uint32_t N = std::min(std::max(std::thread::hardware_concurrency(), 4U), 8U); char buf[40] = {}; log::Stream s(buf);