Author: Martin Storsjö Date: 2021-10-23T12:52:55+03:00 New Revision: ea9e9d61b521adaaa2d7f03712f9f6b9e9dfe8a1
URL: https://github.com/llvm/llvm-project/commit/ea9e9d61b521adaaa2d7f03712f9f6b9e9dfe8a1 DIFF: https://github.com/llvm/llvm-project/commit/ea9e9d61b521adaaa2d7f03712f9f6b9e9dfe8a1.diff LOG: [lldb] [Host/SerialPort] Fix build with GCC 7 Added: Modified: lldb/source/Host/common/File.cpp Removed: ################################################################################ diff --git a/lldb/source/Host/common/File.cpp b/lldb/source/Host/common/File.cpp index 5ad5ae6bb2192..27a47cab78925 100644 --- a/lldb/source/Host/common/File.cpp +++ b/lldb/source/Host/common/File.cpp @@ -837,7 +837,7 @@ SerialPort::Create(int fd, OpenOptions options, Options serial_options, return std::move(error); } - return out; + return std::move(out); } SerialPort::SerialPort(int fd, OpenOptions options, _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits