Skip to content

Commit

Permalink
Fix for arm64 build failure when bluetooth enabled on linux platform (p…
Browse files Browse the repository at this point in the history
…roject-chip#32817)

* fix arm64 build failure when bluetooth enabled on linux platform

* Use C++ keyword for getting type

---------

Co-authored-by: sabollim <[email protected]>
Co-authored-by: Arkadiusz Bokowy <[email protected]>
  • Loading branch information
3 people authored and yyzhong-g committed Dec 11, 2024
1 parent 9dbd4ef commit 009bde8
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 009bde8

Please sign in to comment.