diff options
-rw-r--r-- | lldb/source/Utility/Reproducer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Utility/Reproducer.cpp b/lldb/source/Utility/Reproducer.cpp index b09248061d1..3e2ffcda281 100644 --- a/lldb/source/Utility/Reproducer.cpp +++ b/lldb/source/Utility/Reproducer.cpp @@ -226,7 +226,7 @@ DataRecorder::Create(FileSpec filename) { auto recorder = llvm::make_unique<DataRecorder>(std::move(filename), ec); if (ec) return llvm::errorCodeToError(ec); - return recorder; + return std::move(recorder); } DataRecorder *CommandProvider::GetNewDataRecorder() { |