Skip to content

Commit

Permalink
fix for arm64 build failure in linux platform (#32806)
Browse files Browse the repository at this point in the history
Co-authored-by: sabollim <[email protected]>
  • Loading branch information
sabollim-silabs and satyanaag-silabs authored Apr 2, 2024
1 parent 6bf49f3 commit ff2ab2b
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 @@ -621,7 +621,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 ff2ab2b

Please sign in to comment.