Skip to content

Commit b4734e5

Browse files
committed
Commissioner passcode fix
1 parent 87ccf15 commit b4734e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/server/Dnssd.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ CHIP_ERROR DnssdServer::Advertise(bool commissionableNode, chip::Dnssd::Commissi
350350
#if CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONER_PASSCODE
351351
else
352352
{
353-
advertiseParameters.SetCommissionerPasscodeSupported(Optional<bool>(true));
353+
advertiseParameters.SetCommissionerPasscodeSupported(std::make_optional<bool>(true));
354354
}
355355
#endif
356356

0 commit comments

Comments
 (0)