Skip to content

Commit 0e8d087

Browse files
committed
Address review comment
1 parent 97e89db commit 0e8d087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/Darwin/DnssdImpl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ CHIP_ERROR Register(void * context, DnssdPublishCallback callback, uint32_t inte
173173
ChipLogProgress(Discovery, "Registering service %s on host %s with port %u and type: %s on interface id: %" PRIu32,
174174
StringOrNullMarker(name), StringOrNullMarker(hostname), port, StringOrNullMarker(type), interfaceId);
175175

176-
const DNSServiceFlags registerFlags = kDNSServiceFlagsNoAutoRename;
176+
constexpr DNSServiceFlags registerFlags = kDNSServiceFlagsNoAutoRename;
177177
RegisterContext * sdCtx = nullptr;
178178
if (CHIP_NO_ERROR == MdnsContexts::GetInstance().GetRegisterContextOfTypeAndName(type, name, &sdCtx))
179179
{

0 commit comments

Comments
 (0)