forked from OSchip/llvm-project
[lldb] [Host/SerialPort] Fix build with GCC 7
This commit is contained in:
parent
ff56d80eaa
commit
ea9e9d61b5
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue