Skip to content

Commit

Permalink
Use C++ keyword for getting type
Browse files Browse the repository at this point in the history
  • Loading branch information
arkq committed Oct 14, 2024
1 parent 125c300 commit a003111
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 @@ -542,7 +542,7 @@ void BLEManagerImpl::OnChipDeviceScanned(void * device, const Ble::ChipBLEDevice
/* Initiate Connect */
auto params = std::make_pair(this, deviceInfo->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 a003111

Please sign in to comment.