Enable cppcoreguidelines-special-member-functions checks
Part of enforcing cpp core guidelines involves explicitly including all
constructors required on a non-trivial class. We were missing quite a
few. In all cases, the copy/move/and operator= methods are simply
deleted.
Change-Id: Ib71266e77808d15ae896891eea3e31c5b0394eb1
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
diff --git a/test/TestBmcEpoch.cpp b/test/TestBmcEpoch.cpp
index 38cbbaf..e0b81ea 100644
--- a/test/TestBmcEpoch.cpp
+++ b/test/TestBmcEpoch.cpp
@@ -34,6 +34,10 @@
bus.detach_event();
sd_event_unref(event);
}
+ TestBmcEpoch(const TestBmcEpoch&) = delete;
+ TestBmcEpoch(TestBmcEpoch&&) = delete;
+ TestBmcEpoch& operator=(const TestBmcEpoch&) = delete;
+ TestBmcEpoch& operator=(TestBmcEpoch&&) = delete;
};
TEST_F(TestBmcEpoch, onModeChange)