Add modernize-redundant-void-arg
Enable this check and fix the failures.
Change-Id: I89b13daf1161be40564367562bb9c8c0c459e1d0
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/src/Utils.hpp b/src/Utils.hpp
index 9652e63..f3e0753 100644
--- a/src/Utils.hpp
+++ b/src/Utils.hpp
@@ -68,9 +68,9 @@
std::string_view matchString,
std::vector<std::filesystem::path>& foundPaths,
int symlinkDepth = 1);
-bool isPowerOn(void);
-bool hasBiosPost(void);
-bool isChassisOn(void);
+bool isPowerOn();
+bool hasBiosPost();
+bool isChassisOn();
void setupPowerMatchCallback(
const std::shared_ptr<sdbusplus::asio::connection>& conn,
std::function<void(PowerState type, bool state)>&& callback);