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/async_map_consumer.hpp | |
parent | e5d7cb5ce5b9cc40b0c56b18980a4234118c1739 (diff) | |
download | justbuild-ce23db59c6399199fa55b4b7dc8880522e2f1bca.tar.gz |
Enable readability-redundant-member-init check.
Diffstat (limited to 'src/buildtool/multithreading/async_map_consumer.hpp')
-rw-r--r-- | src/buildtool/multithreading/async_map_consumer.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buildtool/multithreading/async_map_consumer.hpp b/src/buildtool/multithreading/async_map_consumer.hpp index bc7f33ac..1f06b52f 100644 --- a/src/buildtool/multithreading/async_map_consumer.hpp +++ b/src/buildtool/multithreading/async_map_consumer.hpp @@ -142,10 +142,10 @@ class AsyncMapConsumer { private: using NodeRequests = std::unordered_map<Key, std::unordered_set<NodePtr>>; - std::shared_ptr<ValueCreator> value_creator_{}; - Map map_{}; - mutable std::shared_mutex requests_m_{}; - std::unordered_map<std::thread::id, NodeRequests> requests_by_thread_{}; + std::shared_ptr<ValueCreator> value_creator_; + Map map_; + mutable std::shared_mutex requests_m_; + std::unordered_map<std::thread::id, NodeRequests> requests_by_thread_; // Similar to previous methods, but in this case the logger and failure // function are already std::shared_ptr type. |