diff options
Diffstat (limited to 'platform/darwin/src/MGLShapeCollection.mm')
-rw-r--r-- | platform/darwin/src/MGLShapeCollection.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLShapeCollection.mm b/platform/darwin/src/MGLShapeCollection.mm index 5db1ee335c..454b0d47f1 100644 --- a/platform/darwin/src/MGLShapeCollection.mm +++ b/platform/darwin/src/MGLShapeCollection.mm @@ -7,11 +7,11 @@ @implementation MGLShapeCollection -+ (instancetype)shapeCollectionWithShapes:(NSArray<MGLShape *> *)shapes { ++ (instancetype)shapeCollectionWithShapes:(NS_ARRAY_OF(MGLShape *) *)shapes { return [[self alloc] initWithShapes:shapes]; } -- (instancetype)initWithShapes:(NSArray<MGLShape *> *)shapes { +- (instancetype)initWithShapes:(NS_ARRAY_OF(MGLShape *) *)shapes { if (self = [super init]) { _shapes = shapes.copy; } |