summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLShape.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLShape.mm')
-rw-r--r--platform/darwin/src/MGLShape.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLShape.mm b/platform/darwin/src/MGLShape.mm
index 93a3b37e93..889ef8b3d7 100644
--- a/platform/darwin/src/MGLShape.mm
+++ b/platform/darwin/src/MGLShape.mm
@@ -4,7 +4,7 @@
@implementation MGLShape
-+ (nullable instancetype)shapeWithData:(NSData *)data encoding:(NSStringEncoding)encoding error:(NSError * _Nullable *)outError {
++ (nullable MGLShape *)shapeWithData:(NSData *)data encoding:(NSStringEncoding)encoding error:(NSError * _Nullable *)outError {
NSString *string = [[NSString alloc] initWithData:data encoding:encoding];
if (!string) {
if (outError) {