aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectThread.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp
index edbec0e..bc1f5c3 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -622,7 +622,7 @@ protected:
result.SetStatus(eReturnStatusSuccessContinuingNoResult);
}
} else {
- result.SetError(new_plan_status);
+ result.SetError(std::move(new_plan_status));
}
}
@@ -1046,7 +1046,7 @@ protected:
new_plan_sp->SetIsControllingPlan(true);
new_plan_sp->SetOkayToDiscard(false);
} else {
- result.SetError(new_plan_status);
+ result.SetError(std::move(new_plan_status));
return;
}
} else {
@@ -1734,7 +1734,7 @@ protected:
Status err = thread->JumpToLine(file, line, m_options.m_force, &warnings);
if (err.Fail()) {
- result.SetError(err);
+ result.SetError(std::move(err));
return;
}