From b557ac9328f3571edbb8efa25905b950f6654e9d Mon Sep 17 00:00:00 2001 From: yhirose Date: Tue, 14 Jan 2020 17:04:51 -0500 Subject: [PATCH] Code format --- httplib.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/httplib.h b/httplib.h index f401a9a..e2766cc 100644 --- a/httplib.h +++ b/httplib.h @@ -51,7 +51,10 @@ #ifndef CPPHTTPLIB_THREAD_POOL_COUNT // if hardware_concurrency() outputs 0 we still wants to use threads for this. // -1 because we have one thread already in the main function. -#define CPPHTTPLIB_THREAD_POOL_COUNT std::thread::hardware_concurrency() ? std::thread::hardware_concurrency()-1 : 2 +#define CPPHTTPLIB_THREAD_POOL_COUNT \ + (std::thread::hardware_concurrency() \ + ? std::thread::hardware_concurrency() - 1 \ + : 2) #endif /*