summaryrefslogtreecommitdiff
path: root/platform/darwin/src/NSExpression+MGLAdditions.h
diff options
context:
space:
mode:
authorJulian Rex <julian.rex@mapbox.com>2019-04-30 17:08:37 -0400
committerGitHub <noreply@github.com>2019-04-30 17:08:37 -0400
commit9bd59bf041b0d0ca400f586fdbfed53d06258613 (patch)
tree03306eb75f839c993c4c4c2881f7381e9329c03f /platform/darwin/src/NSExpression+MGLAdditions.h
parentb15b78346fe44afbdb81934606ab63252df96b66 (diff)
downloadqtlocation-mapboxgl-9bd59bf041b0d0ca400f586fdbfed53d06258613.tar.gz
[ios, macos] Fixes for static analyzer warnings (#14453)
Diffstat (limited to 'platform/darwin/src/NSExpression+MGLAdditions.h')
-rw-r--r--platform/darwin/src/NSExpression+MGLAdditions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/NSExpression+MGLAdditions.h b/platform/darwin/src/NSExpression+MGLAdditions.h
index a19ec1af2e..9ef6623068 100644
--- a/platform/darwin/src/NSExpression+MGLAdditions.h
+++ b/platform/darwin/src/NSExpression+MGLAdditions.h
@@ -190,7 +190,7 @@ FOUNDATION_EXTERN MGL_EXPORT const MGLExpressionInterpolationMode MGLExpressionI
@return An initialized expression equivalent to `object`, suitable for use as
the value of a style layer attribute.
*/
-+ (instancetype)expressionWithMGLJSONObject:(id)object NS_SWIFT_NAME(init(mglJSONObject:));
++ (instancetype)expressionWithMGLJSONObject:(nullable id)object NS_SWIFT_NAME(init(mglJSONObject:));
/**
An equivalent Foundation object that can be serialized as JSON.