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.cpp b/src/ADCSensor.cpp
index cfa2147..d6dcdca 100644
--- a/src/ADCSensor.cpp
+++ b/src/ADCSensor.cpp
@@ -94,7 +94,7 @@
objServer.remove_interface(association);
}
-void ADCSensor::setupRead(void)
+void ADCSensor::setupRead()
{
std::shared_ptr<boost::asio::streambuf> buffer =
std::make_shared<boost::asio::streambuf>();
@@ -225,7 +225,7 @@
});
}
-void ADCSensor::checkThresholds(void)
+void ADCSensor::checkThresholds()
{
if (!readingStateGood())
{