Fix clang-tidy errors
Change-Id: Iba8d2a18bb0ea3acd2b963e565a7e3020055cfc0
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
diff --git a/fault-monitor/operational-status-monitor.hpp b/fault-monitor/operational-status-monitor.hpp
index 751b970..65d3d9b 100644
--- a/fault-monitor/operational-status-monitor.hpp
+++ b/fault-monitor/operational-status-monitor.hpp
@@ -69,7 +69,7 @@
*
* @param[in] msg - The D-Bus message contents
*/
- void matchHandler(sdbusplus::message_t& msg);
+ static void matchHandler(sdbusplus::message_t& msg);
/**
* @brief From the Inventory D-Bus object, obtains the associated LED group
@@ -79,8 +79,8 @@
*
* @return std::vector<std::string> - Vector of LED Group D-Bus object paths
*/
- std::vector<std::string>
- getLedGroupPaths(const std::string& inventoryPath) const;
+ static std::vector<std::string>
+ getLedGroupPaths(const std::string& inventoryPath);
/**
* @brief Update the Asserted property of the LED Group Manager.
@@ -88,8 +88,8 @@
* @param[in] ledGroupPaths - LED Group D-Bus object Paths
* @param[in] value - The Asserted property value, True / False
*/
- void updateAssertedProperty(const std::vector<std::string>& ledGroupPaths,
- bool value);
+ static void updateAssertedProperty(
+ const std::vector<std::string>& ledGroupPaths, bool value);
};
} // namespace monitor
} // namespace status