[Lldb-commits] [lldb] [lldb] Make deep copies of Status explicit (NFC) (PR #107170)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 5 12:27:21 PDT 2024
================
@@ -109,6 +109,13 @@ llvm::Error Status::ToError() const {
Status::~Status() = default;
+const Status &Status::operator=(Status &&other) {
+ m_code = other.m_code;
+ m_type = other.m_type;
+ m_string = other.m_string;
----------------
adrian-prantl wrote:
Sure, but this is going to be deleted in the next commit anyway.
https://github.com/llvm/llvm-project/pull/107170
More information about the lldb-commits
mailing list