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/interfaces.hpp b/interfaces.hpp
index 013822c..d9934db 100644
--- a/interfaces.hpp
+++ b/interfaces.hpp
@@ -34,9 +34,9 @@
class ReadInterface
{
public:
- ReadInterface() {}
+ ReadInterface() = default;
- virtual ~ReadInterface() {}
+ virtual ~ReadInterface() = default;
virtual ReadReturn read(void) = 0;
@@ -60,7 +60,7 @@
public:
WriteInterface(int64_t min, int64_t max) : _min(min), _max(max) {}
- virtual ~WriteInterface() {}
+ virtual ~WriteInterface() = default;
virtual void write(double value) = 0;