Skip to content

Commit 125c300

Browse files
fix arm64 build failure when bluetooth enabled on linux platform
1 parent 3099269 commit 125c300

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)