Implement clang-tidy fixes
clang-tidy allows the CI robot to check many things via static analysis.
All changes here were made by the clang-tidy robot, and include a number
of modernization fixes. updating the tidy file will be done at a later
date.
Signed-off-by: Ed Tanous <etanous@nvidia.com>
Change-Id: I98cc4d600a3c589675507958f6d2350b2141216b
diff --git a/pid/pidcontroller.hpp b/pid/pidcontroller.hpp
index 91147d9..e1868f4 100644
--- a/pid/pidcontroller.hpp
+++ b/pid/pidcontroller.hpp
@@ -43,11 +43,11 @@
_pid_info.positiveHysteresis = static_cast<double>(0.0);
}
- virtual ~PIDController() {}
+ ~PIDController() override = default;
- virtual double inputProc(void) override = 0;
+ double inputProc(void) override = 0;
virtual double setptProc(void) = 0;
- virtual void outputProc(double value) override = 0;
+ void outputProc(double value) override = 0;
void process(void) override;