Skip to content

Commit a604e1c

Browse files
authored
Merge pull request #6522 from apple/🍒/navy/9aa6a479738c7bf21128f9c45ea4ffcf82d80cbf+02c2b472b510ff55679844c087b66e7837e13dc2
🍒/navy/9aa6a479738c7bf21128f9c45ea4ffcf82d80cbf+02c2b472b510ff55679844c087b66e7837e13dc2
2 parents ba3a5bc + d27d854 commit a604e1c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ bool ConnectionFileDescriptor::IsConnected() const {
122122

123123
ConnectionStatus ConnectionFileDescriptor::Connect(llvm::StringRef path,
124124
Status *error_ptr) {
125-
return Connect(path, nullptr, error_ptr);
125+
return Connect(
126+
path, [](llvm::StringRef) {}, error_ptr);
126127
}
127128

128129
ConnectionStatus

lldb/unittests/Host/ConnectionFileDescriptorTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ConnectionFileDescriptorTest : public testing::Test {
2222
std::unique_ptr<TCPSocket> socket_a_up;
2323
std::unique_ptr<TCPSocket> socket_b_up;
2424
CreateTCPConnectedSockets(ip, &socket_a_up, &socket_b_up);
25-
auto socket = socket_a_up.release();
25+
auto *socket = socket_a_up.release();
2626
ConnectionFileDescriptor connection_file_descriptor(socket);
2727

2828
std::string uri(connection_file_descriptor.GetURI());

0 commit comments

Comments
 (0)