Skip to content

Commit ff2ab2b

Browse files
fix for arm64 build failure in linux platform (#32806)
Co-authored-by: sabollim <satyanaag.bollimpalli@silabs.com>
1 parent 6bf49f3 commit ff2ab2b

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
@@ -621,7 +621,7 @@ CHIP_ERROR BluezEndpoint::ConnectDevice(BluezDevice1 & aDevice)
621621
auto params = std::make_pair(this, &aDevice);
622622
mConnectCancellable.reset(g_cancellable_new());
623623
return PlatformMgrImpl().GLibMatterContextInvokeSync(
624-
+[](typeof(params) * aParams) { return aParams->first->ConnectDeviceImpl(*aParams->second); }, &params);
624+
+[](decltype(params) * aParams) { return aParams->first->ConnectDeviceImpl(*aParams->second); }, &params);
625625
}
626626

627627
void BluezEndpoint::CancelConnect()

0 commit comments

Comments
 (0)