From 13c845e530fe016cb05d9225cd8c49afffd6b6bd Mon Sep 17 00:00:00 2001 From: Congqi Xia Date: Thu, 26 Sep 2024 16:13:43 +0800 Subject: [PATCH] Fix clang-format Signed-off-by: Congqi Xia --- include/knowhere/comp/thread_pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/knowhere/comp/thread_pool.h b/include/knowhere/comp/thread_pool.h index bd6c71f9a..ba2e873bc 100644 --- a/include/knowhere/comp/thread_pool.h +++ b/include/knowhere/comp/thread_pool.h @@ -73,7 +73,7 @@ class ThreadPool { explicit CustomPriorityThreadFactory(const std::string& thread_name_prefix, int thread_priority) : folly::NamedThreadFactory(thread_name_prefix), thread_priority_(thread_priority) { - assert(thread_priority_>= -20 && thread_priority_ < 20); + assert(thread_priority_ >= -20 && thread_priority_ < 20); } private: