From ce23db59c6399199fa55b4b7dc8880522e2f1bca Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 30 Sep 2024 12:16:43 +0200 Subject: Enable readability-redundant-member-init check. --- src/buildtool/multithreading/async_map_consumer.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/buildtool/multithreading/async_map_consumer.hpp') 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>; - std::shared_ptr value_creator_{}; - Map map_{}; - mutable std::shared_mutex requests_m_{}; - std::unordered_map requests_by_thread_{}; + std::shared_ptr value_creator_; + Map map_; + mutable std::shared_mutex requests_m_; + std::unordered_map requests_by_thread_; // Similar to previous methods, but in this case the logger and failure // function are already std::shared_ptr type. -- cgit v1.2.3