Skip to content

Commit 2e8eab7

Browse files
sabollim-silabssatyanaag-silabs
authored andcommitted
fix for arm64 build failure in linux platform (project-chip#32806)
Co-authored-by: sabollim <[email protected]>
1 parent 5bb5c9e commit 2e8eab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/Linux/bluez/BluezEndpoint.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ CHIP_ERROR BluezEndpoint::ConnectDevice(BluezDevice1 & aDevice)
662662
auto params = std::make_pair(this, &aDevice);
663663
mConnectCancellable.reset(g_cancellable_new());
664664
return PlatformMgrImpl().GLibMatterContextInvokeSync(
665-
+[](typeof(params) * aParams) { return aParams->first->ConnectDeviceImpl(*aParams->second); }, &params);
665+
+[](decltype(params) * aParams) { return aParams->first->ConnectDeviceImpl(*aParams->second); }, &params);
666666
}
667667

668668
void BluezEndpoint::CancelConnect()

0 commit comments

Comments
 (0)