Skip to content

Commit 9524ac9

Browse files
sabollim-silabssatyanaag-silabsarkq
authored
Fix for arm64 build failure when bluetooth enabled on linux platform (#32817)
* fix arm64 build failure when bluetooth enabled on linux platform * Use C++ keyword for getting type --------- Co-authored-by: sabollim <satyanaag.bollimpalli@silabs.com> Co-authored-by: Arkadiusz Bokowy <a.bokowy@samsung.com>
1 parent dcb4444 commit 9524ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/Tizen/BLEManagerImpl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ void BLEManagerImpl::OnDeviceScanned(const bt_adapter_le_device_scan_result_info
507507
/* Initiate Connect */
508508
auto params = std::make_pair(this, scanInfo.remote_address);
509509
PlatformMgrImpl().GLibMatterContextInvokeSync(
510-
+[](typeof(params) * aParams) { return aParams->first->ConnectChipThing(aParams->second); }, &params);
510+
+[](decltype(params) * aParams) { return aParams->first->ConnectChipThing(aParams->second); }, &params);
511511
}
512512

513513
void BLEManagerImpl::OnScanComplete()

0 commit comments

Comments
 (0)