Skip to content

Commit

Permalink
fix for arm64 build failure in linux platform (project-chip#32806)
Browse files Browse the repository at this point in the history
Co-authored-by: sabollim <satyanaag.bollimpalli@silabs.com>
  • Loading branch information
2 people authored and kurvaSai committed May 29, 2024
1 parent 5bb5c9e commit 2e8eab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Linux/bluez/BluezEndpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ CHIP_ERROR BluezEndpoint::ConnectDevice(BluezDevice1 & aDevice)
auto params = std::make_pair(this, &aDevice);
mConnectCancellable.reset(g_cancellable_new());
return PlatformMgrImpl().GLibMatterContextInvokeSync(
+[](typeof(params) * aParams) { return aParams->first->ConnectDeviceImpl(*aParams->second); }, &params);
+[](decltype(params) * aParams) { return aParams->first->ConnectDeviceImpl(*aParams->second); }, &params);
}

void BluezEndpoint::CancelConnect()
Expand Down

0 comments on commit 2e8eab7

Please sign in to comment.