[darwin] Fix typos in pragma diagnostic declarations

Per GCC_WARN_UNKNOWN_PRAGMAS.
This commit is contained in:
Jason Wray
2018-11-19 18:54:06 -05:00
parent 83ecb76562
commit 4519f8a867
2 changed files with 3 additions and 3 deletions

View File

@@ -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
}
/**

View File

@@ -6147,7 +6147,7 @@ public:
center.y = CGRectGetMaxY(contentFrame);
break;
}
#pragma clang dianostic pop
#pragma clang diagnostic pop
return center;
}