diff --git a/NSObject+Motis.m b/NSObject+Motis.m index fd02ec8..b30eeed 100644 --- a/NSObject+Motis.m +++ b/NSObject+Motis.m @@ -247,7 +247,10 @@ - (void)mts_setValue:(id)value forKey:(NSString *)key { if ([self mts_checkValueEqualityBeforeAssignmentForKey:mappedKey]) { +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" if (![[self mts_valueForKey:key] isEqual:value]) +#pragma GCC diagnostic pop { [self setValue:value forKey:mappedKey]; }