Skip to content

Commit

Permalink
Fixing PerformSelector warning
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiehanson committed Apr 17, 2012
1 parent d3d6ec6 commit 81e03fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Utilities/XMPPIDTracker.m
Expand Up @@ -207,9 +207,10 @@ - (void)invokeWithObject:(id)obj
block(obj, self);
else
{
// Getting a warning about this?
// Use -Wno-arc-performSelector-leaks to quiet the compiler.
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
[target performSelector:selector withObject:obj withObject:self];
#pragma clang diagnostic pop
}
}

Expand Down

0 comments on commit 81e03fc

Please sign in to comment.