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/ADCSensor.hpp b/src/ADCSensor.hpp
index 045a65e..81f630d 100644
--- a/src/ADCSensor.hpp
+++ b/src/ADCSensor.hpp
@@ -75,7 +75,7 @@
const std::string& sensorConfiguration,
std::optional<BridgeGpio>&& bridgeGpio);
~ADCSensor() override;
- void setupRead(void);
+ void setupRead();
private:
sdbusplus::asio::object_server& objServer;
@@ -88,5 +88,5 @@
std::optional<BridgeGpio> bridgeGpio;
thresholds::ThresholdTimer thresholdTimer;
void handleResponse(const boost::system::error_code& err);
- void checkThresholds(void) override;
+ void checkThresholds() override;
};