Skip to content

Commit

Permalink
Fix clang-format
Browse files Browse the repository at this point in the history
Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia committed Sep 26, 2024
1 parent b498b63 commit 13c845e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/knowhere/comp/thread_pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 13c845e

Please sign in to comment.