diff options
Diffstat (limited to 'contrib/llvm-project/lldb/source/API/SBFormat.cpp')
| -rw-r--r-- | contrib/llvm-project/lldb/source/API/SBFormat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/lldb/source/API/SBFormat.cpp b/contrib/llvm-project/lldb/source/API/SBFormat.cpp index 51cddceea037..080e219d64a3 100644 --- a/contrib/llvm-project/lldb/source/API/SBFormat.cpp +++ b/contrib/llvm-project/lldb/source/API/SBFormat.cpp @@ -36,7 +36,7 @@ SBFormat::SBFormat(const char *format, lldb::SBError &error) { FormatEntrySP format_entry_sp = std::make_shared<FormatEntity::Entry>(); Status status = FormatEntity::Parse(format, *format_entry_sp); - error.SetError(status); + error.SetError(std::move(status)); if (error.Success()) m_opaque_sp = format_entry_sp; } |
