Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and nivi-apple committed Mar 28, 2024
1 parent 009055c commit dec1f9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platform/Darwin/DnssdContexts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,8 @@ void BrowseContext::OnBrowseRemove(const char * name, const char * type, const c
services.erase(std::remove_if(services.begin(), services.end(),
[name, type, interfaceId, domain](const auto & service) {
return strcmp(name, service.first.mName) == 0 && type == GetFullType(&service.first) &&
service.first.mInterface == chip::Inet::InterfaceId(interfaceId) && strcmp(domain, service.second.c_str()) == 0;
service.first.mInterface == chip::Inet::InterfaceId(interfaceId) &&
strcmp(domain, service.second.c_str()) == 0;
}),
services.end());
}
Expand Down

0 comments on commit dec1f9a

Please sign in to comment.