diff options
author | Julian Rex <julian.rex@mapbox.com> | 2019-04-30 17:08:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-30 17:08:37 -0400 |
commit | 9bd59bf041b0d0ca400f586fdbfed53d06258613 (patch) | |
tree | 03306eb75f839c993c4c4c2881f7381e9329c03f /platform/darwin/src/NSExpression+MGLAdditions.h | |
parent | b15b78346fe44afbdb81934606ab63252df96b66 (diff) | |
download | qtlocation-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.h | 2 |
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. |