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 7ebbf7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/darwin/Framework/CHIP/MTRDeviceControllerDataStore.mm
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,9 @@ - (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],
[MTRCASESessionResumptionInfo class],
]];
return sStorageClasses;
}

0 comments on commit 7ebbf7d

Please sign in to comment.