clang-error: fix clang-diagnostic-defaulted-function-deleted error
The clang-diagnostic-defaulted-function-deleted error is generated when
explicitly defaulted move assignment operator is implicitly deleted.
This commit fixes those errors.
Change-Id: I7a407dd3411b19a73a13b1c1e4805b89fc2ec51a
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
diff --git a/pldmtool/pldmtool.cpp b/pldmtool/pldmtool.cpp
index b8fe5a9..cecc965 100644
--- a/pldmtool/pldmtool.cpp
+++ b/pldmtool/pldmtool.cpp
@@ -29,7 +29,7 @@
RawOp(const RawOp&) = delete;
RawOp(RawOp&&) = default;
RawOp& operator=(const RawOp&) = delete;
- RawOp& operator=(RawOp&&) = default;
+ RawOp& operator=(RawOp&&) = delete;
explicit RawOp(const char* type, const char* name, CLI::App* app) :
CommandInterface(type, name, app)