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/bmc_epoch.hpp b/bmc_epoch.hpp
index e4047f0..40b86f1 100644
--- a/bmc_epoch.hpp
+++ b/bmc_epoch.hpp
@@ -34,6 +34,11 @@
~BmcEpoch() override;
+ BmcEpoch(const BmcEpoch&) = delete;
+ BmcEpoch(BmcEpoch&&) = delete;
+ BmcEpoch& operator=(const BmcEpoch&) = delete;
+ BmcEpoch& operator=(BmcEpoch&&) = delete;
+
/** @brief Notified on time mode changed */
void onModeChanged(Mode mode) override;