Skip to content

Commit ea9e9d6

Browse files
committed
[lldb] [Host/SerialPort] Fix build with GCC 7
1 parent ff56d80 commit ea9e9d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Host/common/File.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ SerialPort::Create(int fd, OpenOptions options, Options serial_options,
837837
return std::move(error);
838838
}
839839

840-
return out;
840+
return std::move(out);
841841
}
842842

843843
SerialPort::SerialPort(int fd, OpenOptions options,

0 commit comments

Comments
 (0)