Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
Removing warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vilanovi committed May 29, 2015
1 parent f3d86dd commit b349ff0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NSObject+Motis.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down

0 comments on commit b349ff0

Please sign in to comment.