Skip to content

Commit

Permalink
Fix for arm64 build failure when bluetooth enabled on linux platform (#…
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
3 people authored Oct 14, 2024
1 parent dcb4444 commit 9524ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Tizen/BLEManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ void BLEManagerImpl::OnDeviceScanned(const bt_adapter_le_device_scan_result_info
/* Initiate Connect */
auto params = std::make_pair(this, scanInfo.remote_address);
PlatformMgrImpl().GLibMatterContextInvokeSync(
+[](typeof(params) * aParams) { return aParams->first->ConnectChipThing(aParams->second); }, &params);
+[](decltype(params) * aParams) { return aParams->first->ConnectChipThing(aParams->second); }, &params);
}

void BLEManagerImpl::OnScanComplete()
Expand Down

0 comments on commit 9524ac9

Please sign in to comment.