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/image_manager.cpp b/image_manager.cpp
index 385fee4..8e32e3f 100644
--- a/image_manager.cpp
+++ b/image_manager.cpp
@@ -54,6 +54,11 @@
fs::remove_all(path, ec);
}
}
+
+ RemovablePath(const RemovablePath& other) = delete;
+ RemovablePath& operator=(const RemovablePath& other) = delete;
+ RemovablePath(RemovablePath&&) = delete;
+ RemovablePath& operator=(RemovablePath&&) = delete;
};
namespace // anonymous