Permalink
Browse files

typo fix : remove an unneeded "class" call

  • Loading branch information...
1 parent 1270544 commit 0b11dab8ddfe6245f58328ff138004e960628086 @n-b committed Apr 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 NSObject+objcswitch.m
View
@@ -72,7 +72,7 @@ + (BOOL)resolveInstanceMethod:(SEL)aSEL
if(hasDefaultBlock)
[types appendFormat:@"%s",@encode(void(^)(void))];
- class_addMethod([self class], aSEL, (IMP) objcswitch, [types cStringUsingEncoding:NSASCIIStringEncoding]);
+ class_addMethod(self, aSEL, (IMP) objcswitch, [types cStringUsingEncoding:NSASCIIStringEncoding]);
return YES;
}

0 comments on commit 0b11dab

Please sign in to comment.