diff options
author | Jason Wray <jason@mapbox.com> | 2018-11-19 18:54:06 -0500 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2018-11-20 11:48:18 -0500 |
commit | 4519f8a867e50eccb3f85b683636de43924e7450 (patch) | |
tree | e8d857eef2d37d3b23b6083aff536bca48ebe3af | |
parent | 83ecb765629ddbbe59998178acbb2f3db6db213a (diff) | |
download | qtlocation-mapboxgl-4519f8a867e50eccb3f85b683636de43924e7450.tar.gz |
[darwin] Fix typos in pragma diagnostic declarations
Per GCC_WARN_UNKNOWN_PRAGMAS.
-rw-r--r-- | platform/darwin/src/NSExpression+MGLAdditions.mm | 4 | ||||
-rw-r--r-- | platform/ios/src/MGLMapView.mm | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/platform/darwin/src/NSExpression+MGLAdditions.mm b/platform/darwin/src/NSExpression+MGLAdditions.mm index 9c12c6beac..0d6b74e93c 100644 --- a/platform/darwin/src/NSExpression+MGLAdditions.mm +++ b/platform/darwin/src/NSExpression+MGLAdditions.mm @@ -46,7 +46,7 @@ const MGLExpressionInterpolationMode MGLExpressionInterpolationModeCubicBezier = // Effectively categorize the class with some extra class methods. Class NSPredicateUtilities = objc_getMetaClass(className.UTF8String); -#pragma clang push +#pragma clang diagnostic push #pragma clang diagnostic ignored "-Wundeclared-selector" #define INSTALL_METHOD(sel) \ { \ @@ -85,7 +85,7 @@ const MGLExpressionInterpolationMode MGLExpressionInterpolationModeCubicBezier = INSTALL_CONTROL_STRUCTURE(MGL_FUNCTION); #undef INSTALL_AFTERMARKET_FN -#pragma clang pop +#pragma clang diagnostic pop } /** diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index 5b74ded15f..79195f6f8d 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -6147,7 +6147,7 @@ public: center.y = CGRectGetMaxY(contentFrame); break; } -#pragma clang dianostic pop +#pragma clang diagnostic pop return center; } |