mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
Clean up a clang analyzer cast error (#1387)
~/Texture/Source/Private/ASMutableElementMap.mm:32:24: warning: Conversion from value of type 'NSMutableArray<NSMutableArray *> *' to incompatible type 'ASMutableCollectionElementTwoDimensionalArray *'
_sectionsOfItems = (id)ASTwoDimensionalArrayDeepMutableCopy(items);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
This commit is contained in:
committed by
Adlai Holler
parent
9cd0d58373
commit
593b56aaff
@@ -29,7 +29,7 @@ typedef NSMutableDictionary<NSString *, NSMutableDictionary<NSIndexPath *, ASCol
|
||||
{
|
||||
if (self = [super init]) {
|
||||
_sections = [sections mutableCopy];
|
||||
_sectionsOfItems = (id)ASTwoDimensionalArrayDeepMutableCopy(items);
|
||||
_sectionsOfItems = (ASMutableCollectionElementTwoDimensionalArray *)ASTwoDimensionalArrayDeepMutableCopy(items);
|
||||
_supplementaryElements = [ASMutableElementMap deepMutableCopyOfElementsDictionary:supplementaryElements];
|
||||
}
|
||||
return self;
|
||||
|
||||
Reference in New Issue
Block a user