Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tehampson committed Aug 15, 2024
1 parent 348d1f2 commit fb3c66a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,9 @@ CHIP_ERROR EcosystemInformationServer::EncodeLocationStructAttribute(EndpointId
}

return aEncoder.EncodeList([&](const auto & encoder) -> CHIP_ERROR {
for (auto & [id, device] : deviceInfo.mLocationDirectory)
for (auto & [key, device] : deviceInfo.mLocationDirectory)
{
ReturnErrorOnFailure(device->Encode(encoder, id));
ReturnErrorOnFailure(device->Encode(encoder, key.mUniqueLocationId, key.mFabricIndex));
}
return CHIP_NO_ERROR;
});
Expand Down

0 comments on commit fb3c66a

Please sign in to comment.