From 7ebbf7dd8bf4536c7b1945cf4dd5d2a16ca8a8a2 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Thu, 31 Aug 2023 14:50:52 -0400 Subject: [PATCH] Remove NSMutableArray and NSSet from controller storage classes, since we no longer encode those. --- src/darwin/Framework/CHIP/MTRDeviceControllerDataStore.mm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerDataStore.mm b/src/darwin/Framework/CHIP/MTRDeviceControllerDataStore.mm index bb08faad584e14..8c2fcf044d73ca 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceControllerDataStore.mm +++ b/src/darwin/Framework/CHIP/MTRDeviceControllerDataStore.mm @@ -350,7 +350,9 @@ - (void)encodeWithCoder:(NSCoder *)coder NSSet * MTRDeviceControllerStorageClasses() { static NSSet * const sStorageClasses = [NSSet setWithArray:@[ - [NSNumber class], [NSData class], [NSSet class], [MTRCASESessionResumptionInfo class], [NSMutableArray class] + [NSNumber class], + [NSData class], + [MTRCASESessionResumptionInfo class], ]]; return sStorageClasses; }