Skip to content

Commit

Permalink
Remove NSMutableArray and NSSet from controller storage classes, sinc…
Browse files Browse the repository at this point in the history
…e we no longer encode those.
  • Loading branch information
bzbarsky-apple committed Aug 31, 2023
1 parent 2ab709d commit 8479524
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/darwin/Framework/CHIP/MTRDeviceControllerDataStore.mm
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,10 @@ - (void)encodeWithCoder:(NSCoder *)coder
NSSet<Class> * MTRDeviceControllerStorageClasses()
{
static NSSet * const sStorageClasses = [NSSet setWithArray:@[
[NSNumber class], [NSData class], [NSSet class], [MTRCASESessionResumptionInfo class], [NSMutableArray class]
[NSNumber class],
[NSData class],
[NSArray class],
[MTRCASESessionResumptionInfo class],
]];
return sStorageClasses;
}

0 comments on commit 8479524

Please sign in to comment.