clang-tidy: Enable cppcoreguidelines-special-member-functions
This check finds classes where some but not all of the special
member functions are defined.
Change-Id: Ic677e32df810c07eb5e4cc0fd14a03c4d6c376bb
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/flash.hpp b/flash.hpp
index 0da94de..9d1dc43 100644
--- a/flash.hpp
+++ b/flash.hpp
@@ -18,6 +18,12 @@
class Flash
{
public:
+ Flash() = default;
+ Flash(const Flash&) = delete;
+ Flash& operator=(const Flash&) = delete;
+ Flash(Flash&&) = default;
+ Flash& operator=(Flash&&) = delete;
+
/* Destructor */
virtual ~Flash() = default;