@@ -114,7 +114,7 @@ void TimerExpiredCallback(System::Layer * systemLayer, void * callbackContext)
114
114
{
115
115
EndpointId endpoint = static_cast <EndpointId>(reinterpret_cast <uintptr_t >(callbackContext));
116
116
117
- auto delegate = GetDelegate (endpoint);
117
+ Delegate * delegate = GetDelegate (endpoint);
118
118
VerifyOrReturn (delegate != nullptr , ChipLogError (Zcl, " Delegate is null. Unable to handle timer expired" ));
119
119
120
120
delegate->ClearPendingPresetList ();
@@ -1290,7 +1290,7 @@ bool emberAfThermostatClusterSetActivePresetRequestCallback(
1290
1290
const Clusters::Thermostat::Commands::SetActivePresetRequest::DecodableType & commandData)
1291
1291
{
1292
1292
EndpointId endpoint = commandPath.mEndpointId ;
1293
- auto delegate = GetDelegate (endpoint);
1293
+ Delegate * delegate = GetDelegate (endpoint);
1294
1294
1295
1295
if (delegate == nullptr )
1296
1296
{
@@ -1380,7 +1380,7 @@ void handleAtomicBegin(CommandHandler * commandObj, const ConcreteCommandPath &
1380
1380
{
1381
1381
EndpointId endpoint = commandPath.mEndpointId ;
1382
1382
1383
- auto delegate = GetDelegate (endpoint);
1383
+ Delegate * delegate = GetDelegate (endpoint);
1384
1384
1385
1385
if (delegate == nullptr )
1386
1386
{
@@ -1565,7 +1565,7 @@ void handleAtomicCommit(CommandHandler * commandObj, const ConcreteCommandPath &
1565
1565
return ;
1566
1566
}
1567
1567
1568
- auto delegate = GetDelegate (endpoint);
1568
+ Delegate * delegate = GetDelegate (endpoint);
1569
1569
1570
1570
if (delegate == nullptr )
1571
1571
{
@@ -1598,7 +1598,7 @@ void handleAtomicRollback(CommandHandler * commandObj, const ConcreteCommandPath
1598
1598
return ;
1599
1599
}
1600
1600
1601
- auto delegate = GetDelegate (endpoint);
1601
+ Delegate * delegate = GetDelegate (endpoint);
1602
1602
1603
1603
if (delegate == nullptr )
1604
1604
{
@@ -1882,7 +1882,7 @@ void MatterThermostatPluginServerInitCallback()
1882
1882
void MatterThermostatClusterServerShutdownCallback (EndpointId endpoint)
1883
1883
{
1884
1884
ChipLogProgress (Zcl, " Shutting down thermostat server cluster on endpoint %d" , endpoint);
1885
- auto delegate = GetDelegate (endpoint);
1885
+ Delegate * delegate = GetDelegate (endpoint);
1886
1886
1887
1887
if (delegate != nullptr )
1888
1888
{
0 commit comments