clang-tidy: Enable modernize-use-equals-default
Modified code to address issues flagged by this check.
Tested: Build and unit tests passed successfully.
Change-Id: I17f31ea24c59e910ff4249b62334ed7f4e38c20c
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/.clang-tidy b/.clang-tidy
index fa90937..b5e3e1d 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -282,6 +282,7 @@
modernize-use-bool-literals,
modernize-use-default-member-init,
modernize-use-emplace,
+modernize-use-equals-default,
modernize-use-equals-delete,
modernize-use-noexcept,
modernize-use-starts-ends-with,
diff --git a/test/debug_inif_test.cpp b/test/debug_inif_test.cpp
index 59472ef..98a0e1d 100644
--- a/test/debug_inif_test.cpp
+++ b/test/debug_inif_test.cpp
@@ -15,7 +15,7 @@
class TestDumpSerial : public ::testing::Test
{
public:
- TestDumpSerial() {}
+ TestDumpSerial() = default;
void SetUp()
{