projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31291a4
)
Fix gcc build for r355249
author
Pavel Labath
<pavel@labath.sk>
Sat, 2 Mar 2019 16:23:07 +0000
(16:23 +0000)
committer
Pavel Labath
<pavel@labath.sk>
Sat, 2 Mar 2019 16:23:07 +0000
(16:23 +0000)
automatic move should not fire when returning type T in a function with
result type Expected<T>. Some compilers seem to allow that nonetheless.
llvm-svn: 355270
lldb/source/Utility/Reproducer.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Utility/Reproducer.cpp
b/lldb/source/Utility/Reproducer.cpp
index
b092480
..
3e2ffcd
100644
(file)
--- 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() {