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/HwmonTempSensor.hpp b/src/HwmonTempSensor.hpp
index d45dafd..7208090 100644
--- a/src/HwmonTempSensor.hpp
+++ b/src/HwmonTempSensor.hpp
@@ -35,11 +35,11 @@
PowerState powerState,
const std::shared_ptr<I2CDevice>& i2cDevice);
~HwmonTempSensor() override;
- void setupRead(void);
+ void setupRead();
void activate(const std::string& newPath,
const std::shared_ptr<I2CDevice>& newI2CDevice);
- void deactivate(void);
- bool isActive(void);
+ void deactivate();
+ bool isActive();
std::shared_ptr<I2CDevice> getI2CDevice() const
{
@@ -61,5 +61,5 @@
void handleResponse(const boost::system::error_code& err, size_t bytesRead);
void restartRead();
- void checkThresholds(void) override;
+ void checkThresholds() override;
};