Renaming 'class' variable to fix errors during compilation caused by some build settings (Thanks, Charlie Williams)
This commit is contained in:
parent
8688e7e505
commit
635b809020
1 changed files with 3 additions and 3 deletions
|
|
@ -308,9 +308,9 @@ static NSString * AFPropertyListStringFromParameters(NSDictionary *parameters) {
|
|||
NSString *className = nil;
|
||||
NSEnumerator *enumerator = [self.registeredHTTPOperationClassNames reverseObjectEnumerator];
|
||||
while (!operation && (className = [enumerator nextObject])) {
|
||||
Class class = NSClassFromString(className);
|
||||
if (class && [class canProcessRequest:urlRequest]) {
|
||||
operation = [[(AFHTTPRequestOperation *)[class alloc] initWithRequest:urlRequest] autorelease];
|
||||
Class op_class = NSClassFromString(className);
|
||||
if (op_class && [op_class canProcessRequest:urlRequest]) {
|
||||
operation = [[(AFHTTPRequestOperation *)[op_class alloc] initWithRequest:urlRequest] autorelease];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue