@@ -31,7 +31,8 @@ using namespace chip::app::Clusters::ContentLauncher;
31
31
using ContentAppAttributeDelegate = chip::AppPlatform::ContentAppAttributeDelegate;
32
32
33
33
AppContentLauncherManager::AppContentLauncherManager (ContentAppAttributeDelegate * attributeDelegate,
34
- std::list<std::string> acceptHeaderList, uint32_t supportedStreamingProtocols) :
34
+ std::list<std::string> acceptHeaderList,
35
+ uint32_t supportedStreamingProtocols) :
35
36
mAttributeDelegate(attributeDelegate)
36
37
{
37
38
mAcceptHeaderList = acceptHeaderList;
@@ -91,7 +92,7 @@ CHIP_ERROR AppContentLauncherManager::HandleGetAcceptHeaderList(AttributeValueEn
91
92
chip::app::ConcreteReadAttributePath aPath (mEndpointId , chip::app::Clusters::ContentLauncher::Id,
92
93
chip::app::Clusters::ContentLauncher::Attributes::AcceptHeader::Id);
93
94
std::string resStr = mAttributeDelegate ->Read (aPath);
94
- ChipLogProgress (Zcl, " AppContentLauncherManager::HandleGetAcceptHeaderList response %s" , resStr.std :: c_str ());
95
+ ChipLogProgress (Zcl, " AppContentLauncherManager::HandleGetAcceptHeaderList response %s" , resStr.c_str ());
95
96
96
97
if (resStr.length () != 0 )
97
98
{
@@ -101,7 +102,7 @@ CHIP_ERROR AppContentLauncherManager::HandleGetAcceptHeaderList(AttributeValueEn
101
102
{
102
103
std::string attrId = std::to_string (chip::app::Clusters::ContentLauncher::Attributes::AcceptHeader::Id);
103
104
ChipLogProgress (Zcl, " AppContentLauncherManager::HandleGetAcceptHeaderList response parsing done. reading attr %s" ,
104
- attrId.std :: c_str ());
105
+ attrId.c_str ());
105
106
if (value[attrId].isArray ())
106
107
{
107
108
mAcceptHeaderList .clear ();
@@ -132,7 +133,7 @@ uint32_t AppContentLauncherManager::HandleGetSupportedStreamingProtocols()
132
133
chip::app::ConcreteReadAttributePath aPath (mEndpointId , chip::app::Clusters::ContentLauncher::Id,
133
134
chip::app::Clusters::ContentLauncher::Attributes::SupportedStreamingProtocols::Id);
134
135
std::string resStr = mAttributeDelegate ->Read (aPath);
135
- ChipLogProgress (Zcl, " AppContentLauncherManager::HandleGetSupportedStreamingProtocols response %s" , resStr.std :: c_str ());
136
+ ChipLogProgress (Zcl, " AppContentLauncherManager::HandleGetSupportedStreamingProtocols response %s" , resStr.c_str ());
136
137
137
138
if (resStr.length () == 0 )
138
139
{
@@ -147,7 +148,7 @@ uint32_t AppContentLauncherManager::HandleGetSupportedStreamingProtocols()
147
148
}
148
149
std::string attrId = std::to_string (chip::app::Clusters::ContentLauncher::Attributes::SupportedStreamingProtocols::Id);
149
150
ChipLogProgress (Zcl, " AppContentLauncherManager::HandleGetSupportedStreamingProtocols response parsing done. reading attr %s" ,
150
- attrId.std :: c_str ());
151
+ attrId.c_str ());
151
152
if (!value[attrId].empty () && value[attrId].isInt ())
152
153
{
153
154
uint32_t supportedStreamingProtocols = static_cast <uint32_t >(value[attrId].asInt ());
0 commit comments