@@ -312,7 +312,7 @@ void CastingServer::ReadServerClustersForNode(NodeId nodeId)
312
312
" Binding type=%d fab=%d nodeId=0x" ChipLogFormatX64
313
313
" groupId=%d local endpoint=%d remote endpoint=%d cluster=" ChipLogFormatMEI,
314
314
binding.type , binding.fabricIndex , ChipLogValueX64 (binding.nodeId ), binding.groupId , binding.local ,
315
- binding.remote , ChipLogValueMEI (binding.clusterId .ValueOr (0 )));
315
+ binding.remote , ChipLogValueMEI (binding.clusterId .value_or (0 )));
316
316
if (binding.type == MATTER_UNICAST_BINDING && nodeId == binding.nodeId )
317
317
{
318
318
if (!mActiveTargetVideoPlayerInfo .HasEndpoint (binding.remote ))
@@ -584,7 +584,7 @@ void CastingServer::DeviceEventCallback(const DeviceLayer::ChipDeviceEvent * eve
584
584
" CastingServer::DeviceEventCallback Read cached binding type=%d fabrixIndex=%d nodeId=0x" ChipLogFormatX64
585
585
" groupId=%d local endpoint=%d remote endpoint=%d cluster=" ChipLogFormatMEI,
586
586
binding.type , binding.fabricIndex , ChipLogValueX64 (binding.nodeId ), binding.groupId , binding.local ,
587
- binding.remote , ChipLogValueMEI (binding.clusterId .ValueOr (0 )));
587
+ binding.remote , ChipLogValueMEI (binding.clusterId .value_or (0 )));
588
588
if (binding.type == MATTER_UNICAST_BINDING && event->BindingsChanged .fabricIndex == binding.fabricIndex )
589
589
{
590
590
ChipLogProgress (
@@ -675,7 +675,7 @@ NodeId CastingServer::GetVideoPlayerNodeForFabricIndex(FabricIndex fabricIndex)
675
675
" Binding type=%d fab=%d nodeId=0x" ChipLogFormatX64
676
676
" groupId=%d local endpoint=%d remote endpoint=%d cluster=" ChipLogFormatMEI,
677
677
binding.type , binding.fabricIndex , ChipLogValueX64 (binding.nodeId ), binding.groupId , binding.local ,
678
- binding.remote , ChipLogValueMEI (binding.clusterId .ValueOr (0 )));
678
+ binding.remote , ChipLogValueMEI (binding.clusterId .value_or (0 )));
679
679
if (binding.type == MATTER_UNICAST_BINDING && fabricIndex == binding.fabricIndex )
680
680
{
681
681
ChipLogProgress (NotSpecified, " GetVideoPlayerNodeForFabricIndex nodeId=0x" ChipLogFormatX64,
@@ -701,7 +701,7 @@ FabricIndex CastingServer::GetVideoPlayerFabricIndexForNode(NodeId nodeId)
701
701
" Binding type=%d fab=%d nodeId=0x" ChipLogFormatX64
702
702
" groupId=%d local endpoint=%d remote endpoint=%d cluster=" ChipLogFormatMEI,
703
703
binding.type , binding.fabricIndex , ChipLogValueX64 (binding.nodeId ), binding.groupId , binding.local ,
704
- binding.remote , ChipLogValueMEI (binding.clusterId .ValueOr (0 )));
704
+ binding.remote , ChipLogValueMEI (binding.clusterId .value_or (0 )));
705
705
if (binding.type == MATTER_UNICAST_BINDING && nodeId == binding.nodeId )
706
706
{
707
707
ChipLogProgress (NotSpecified, " GetVideoPlayerFabricIndexForNode fabricIndex=%d nodeId=0x" ChipLogFormatX64,
0 commit comments