From 6dc5194895b6bd61d19bf5c95021471784084325 Mon Sep 17 00:00:00 2001 From: untodesu Date: Tue, 1 Jul 2025 03:23:05 +0500 Subject: I forgot to set these to true in .clang-format https://files.catbox.moe/909rig.gif --- game/shared/threading.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'game/shared/threading.cc') diff --git a/game/shared/threading.cc b/game/shared/threading.cc index 82bcad7..ae3b3ea 100644 --- a/game/shared/threading.cc +++ b/game/shared/threading.cc @@ -42,10 +42,12 @@ void threading::init(void) // Use the maximum available number of concurrent // hardware threads provided by the implementation thread_pool_size = num_concurrent_threads; - } else { + } + else { if(num_concurrent_threads) { thread_pool_size = math::clamp(std::strtoul(argument, nullptr, 10), 1U, num_concurrent_threads); - } else { + } + else { thread_pool_size = math::max(std::strtoul(argument, nullptr, 10), 1U); } } -- cgit