Skip to content

Commit 4df9d3d

Browse files
Update examples/fabric-bridge-app/linux/ActionsServerCallbacks.cpp
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
1 parent 9277468 commit 4df9d3d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/fabric-bridge-app/linux/ActionsServerCallbacks.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ CHIP_ERROR ActionsAttrAccess::ReadEndpointListAttribute(EndpointId endpoint, Att
100100

101101
CHIP_ERROR ActionsAttrAccess::ReadSetupUrlAttribute(EndpointId endpoint, AttributeValueEncoder & aEncoder)
102102
{
103-
static const char SetupUrl[] = "https://example.com";
104-
return aEncoder.Encode(chip::CharSpan::fromCharString(SetupUrl));
103+
return aEncoder.Encode("https://example.com"_span);
105104
}
106105

107106
CHIP_ERROR ActionsAttrAccess::ReadClusterRevision(EndpointId endpoint, AttributeValueEncoder & aEncoder)

0 commit comments

Comments
 (0)