From b349ff00618ba4bc0f6535c974b15c4418d12696 Mon Sep 17 00:00:00 2001 From: Joan Martin Date: Fri, 29 May 2015 16:04:08 +0200 Subject: [PATCH] Removing warning --- NSObject+Motis.m | 3 +++ 1 file changed, 3 insertions(+) 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]; }