diff options
Diffstat (limited to 'platform/darwin/src/NSCompoundPredicate+MGLAdditions.mm')
-rw-r--r-- | platform/darwin/src/NSCompoundPredicate+MGLAdditions.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/darwin/src/NSCompoundPredicate+MGLAdditions.mm b/platform/darwin/src/NSCompoundPredicate+MGLAdditions.mm index a8ae19b172..5eb20da846 100644 --- a/platform/darwin/src/NSCompoundPredicate+MGLAdditions.mm +++ b/platform/darwin/src/NSCompoundPredicate+MGLAdditions.mm @@ -4,6 +4,7 @@ #import "NSPredicate+MGLPrivateAdditions.h" #import "NSExpression+MGLPrivateAdditions.h" +#import "MGLLoggingConfiguration_Private.h" #include <mbgl/style/conversion/property_value.hpp> @@ -25,7 +26,7 @@ - (id)mgl_jsonExpressionObject { switch (self.compoundPredicateType) { case NSNotPredicateType: { - NSAssert(self.subpredicates.count <= 1, @"NOT predicate cannot have multiple subpredicates."); + MGLAssert(self.subpredicates.count <= 1, @"NOT predicate cannot have multiple subpredicates."); NSPredicate *subpredicate = self.subpredicates.firstObject; return @[@"!", subpredicate.mgl_jsonExpressionObject]; } |