diff --git a/src/platform/Tizen/BLEManagerImpl.cpp b/src/platform/Tizen/BLEManagerImpl.cpp index 4dce76c80008f2..0726357a9c2a2b 100644 --- a/src/platform/Tizen/BLEManagerImpl.cpp +++ b/src/platform/Tizen/BLEManagerImpl.cpp @@ -996,7 +996,8 @@ CHIP_ERROR BLEManagerImpl::_Init() ChipLogProgress(DeviceLayer, "Initialize Tizen BLE Layer"); - err = PlatformMgrImpl().GLibMatterContextInvokeSync(+[](BLEManagerImpl * self) { return self->_InitImpl(); }, this); + err = PlatformMgrImpl().GLibMatterContextInvokeSync( + +[](BLEManagerImpl * self) { return self->_InitImpl(); }, this); SuccessOrExit(err); // The hash table key is stored in the BLEConnection structure diff --git a/src/platform/Tizen/BLEManagerImpl.h b/src/platform/Tizen/BLEManagerImpl.h index 9a4cb14db6627d..4f68be1cef0d87 100644 --- a/src/platform/Tizen/BLEManagerImpl.h +++ b/src/platform/Tizen/BLEManagerImpl.h @@ -136,7 +136,7 @@ class BLEManagerImpl final : public BLEManager, // ===== Members that implement virtual methods on BleConnectionDelegate. void NewConnection(BleLayer * bleLayer, void * appState, const SetupDiscriminator & connDiscriminator) override; - void NewConnection(BleLayer * bleLayer, void * appState, BLE_CONNECTION_OBJECT connObj) override {}; + void NewConnection(BleLayer * bleLayer, void * appState, BLE_CONNECTION_OBJECT connObj) override{}; CHIP_ERROR CancelConnection() override; // ===== Members that implement virtual methods on ChipDeviceScannerDelegate diff --git a/src/platform/Tizen/ChipDeviceScanner.cpp b/src/platform/Tizen/ChipDeviceScanner.cpp index a3afb857cdbce6..98018bfd88c6ef 100644 --- a/src/platform/Tizen/ChipDeviceScanner.cpp +++ b/src/platform/Tizen/ChipDeviceScanner.cpp @@ -148,7 +148,8 @@ CHIP_ERROR ChipDeviceScanner::StartScan(ScanFilterType filterType, const ScanFil SetupScanFilter(filterType, filterData); // All set to trigger LE Scan - err = PlatformMgrImpl().GLibMatterContextInvokeSync(+[](ChipDeviceScanner * self) { return self->StartScanImpl(); }, this); + err = PlatformMgrImpl().GLibMatterContextInvokeSync( + +[](ChipDeviceScanner * self) { return self->StartScanImpl(); }, this); SuccessOrExit(err); return CHIP_NO_ERROR;