Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

typo fix : remove an unneeded "class" call

  • Loading branch information...
commit 0b11dab8ddfe6245f58328ff138004e960628086 1 parent 1270544
@n-b authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  NSObject+objcswitch.m
View
2  NSObject+objcswitch.m
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.