clang-tidy: Enable readability-redundant-member-init check
Finds member initializations that are unnecessary because the same
default constructor would be called if they were not present.
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: Ia112636b43360f6a4e14c0a7a80a2635754325c7
diff --git a/manager/manager.hpp b/manager/manager.hpp
index 0177241..053a6a7 100644
--- a/manager/manager.hpp
+++ b/manager/manager.hpp
@@ -147,7 +147,7 @@
sdbusplus::bus_t& bus;
/** Map of physical LED path to service name */
- std::unordered_map<std::string, std::string> phyLeds{};
+ std::unordered_map<std::string, std::string> phyLeds;
/** @brief Pointers to groups that are in asserted state */
std::set<const Layout::GroupLayout*> assertedGroups;