diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-09-30 12:16:43 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-07 13:37:39 +0200 |
commit | ce23db59c6399199fa55b4b7dc8880522e2f1bca (patch) | |
tree | 5b77d3c84289f023cbe6f4a81cf391a0087fe660 /src/buildtool/multithreading/task_system.hpp | |
parent | e5d7cb5ce5b9cc40b0c56b18980a4234118c1739 (diff) | |
download | justbuild-ce23db59c6399199fa55b4b7dc8880522e2f1bca.tar.gz |
Enable readability-redundant-member-init check.
Diffstat (limited to 'src/buildtool/multithreading/task_system.hpp')
-rw-r--r-- | src/buildtool/multithreading/task_system.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buildtool/multithreading/task_system.hpp b/src/buildtool/multithreading/task_system.hpp index 089dc3d8..95b4dedf 100644 --- a/src/buildtool/multithreading/task_system.hpp +++ b/src/buildtool/multithreading/task_system.hpp @@ -73,11 +73,11 @@ class TaskSystem { private: std::size_t const thread_count_{ std::max(1U, std::thread::hardware_concurrency())}; - std::vector<std::thread> threads_{}; - std::vector<NotificationQueue> queues_{}; + std::vector<std::thread> threads_; + std::vector<NotificationQueue> queues_; std::atomic<std::size_t> index_{0}; - std::atomic<bool> shutdown_{}; - WaitableZeroCounter total_workload_{}; + std::atomic<bool> shutdown_; + WaitableZeroCounter total_workload_; static constexpr std::size_t kNumberOfAttempts = 5; |