Skip to content

Commit

Permalink
Disable deprecation warning inside the library
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyarnold committed Apr 10, 2014
1 parent 733b21e commit 42edc23
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ + (id) MR_createEntityInContext:(NSManagedObjectContext *)context

+ (id) MR_createEntity
{
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
NSManagedObject *newEntity = [self MR_createEntityInContext:[NSManagedObjectContext MR_contextForCurrentThread]];
#pragma clang diagnostic pop

return newEntity;
}
Expand Down

0 comments on commit 42edc23

Please sign in to comment.