Skip to content

Commit

Permalink
Fix bug in SubscribeEvent function that results in compilation failure (
Browse files Browse the repository at this point in the history
  • Loading branch information
spalas1996 authored and pull[bot] committed Nov 21, 2023
1 parent af6f23a commit 141c4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/CHIPCluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ class DLL_EXPORT ClusterBase
}
};

auto onSubscriptionEstablishedCb = [context, subscriptionEstablishedCb]() {
auto onSubscriptionEstablishedCb = [context, subscriptionEstablishedCb](const app::ReadClient & readClient) {
if (subscriptionEstablishedCb != nullptr)
{
subscriptionEstablishedCb(context);
Expand Down

0 comments on commit 141c4ca

Please sign in to comment.