[lldb] Make deep copies of Status explicit (NFC) (#107170)

This commit is contained in:
Adrian Prantl
2024-09-05 12:44:13 -07:00
committed by GitHub
parent 53d5ffea6b
commit b798f4bd50
57 changed files with 172 additions and 141 deletions

View File

@@ -958,7 +958,7 @@ SBError SBThread::JumpToLine(lldb::SBFileSpec &file_spec, uint32_t line) {
Thread *thread = exe_ctx.GetThreadPtr();
Status err = thread->JumpToLine(file_spec.ref(), line, true);
sb_error.SetError(err);
sb_error.SetError(std::move(err));
return sb_error;
}