diff --git a/src/darwin/Framework/CHIP/CHIPPersistentStorageDelegateBridge.h b/src/darwin/Framework/CHIP/CHIPPersistentStorageDelegateBridge.h index 395ba3cdf44186..a497500129ce24 100644 --- a/src/darwin/Framework/CHIP/CHIPPersistentStorageDelegateBridge.h +++ b/src/darwin/Framework/CHIP/CHIPPersistentStorageDelegateBridge.h @@ -35,8 +35,8 @@ class CHIPPersistentStorageDelegateBridge : public chip::PersistentStorageDelega CHIP_ERROR SyncDeleteKeyValue(const char * key) override; private: - _Nullable id mDelegate; - _Nullable dispatch_queue_t mWorkQueue; + id mDelegate; + dispatch_queue_t mWorkQueue; }; NS_ASSUME_NONNULL_END diff --git a/src/darwin/Framework/CHIP/CHIPPersistentStorageDelegateBridge.mm b/src/darwin/Framework/CHIP/CHIPPersistentStorageDelegateBridge.mm index ccd7e2b0af0d33..7e7dcaf8289526 100644 --- a/src/darwin/Framework/CHIP/CHIPPersistentStorageDelegateBridge.mm +++ b/src/darwin/Framework/CHIP/CHIPPersistentStorageDelegateBridge.mm @@ -53,8 +53,8 @@ CHIPPersistentStorageDelegateBridge::CHIPPersistentStorageDelegateBridge(id delegate) : mDelegate(delegate) + , mWorkQueue(dispatch_queue_create("com.zigbee.chip.framework.storage.workqueue", DISPATCH_QUEUE_SERIAL)) { - mWorkQueue = dispatch_queue_create("com.zigbee.chip.framework.storage.workqueue", DISPATCH_QUEUE_SERIAL); } CHIPPersistentStorageDelegateBridge::~CHIPPersistentStorageDelegateBridge(void) {}