Merge pull request #1435 from joshavant/master

Change `AFHTTPRequestOperation -(id)initWithCoder:` to call the `super` implementation
This commit is contained in:
Mattt Thompson 2013-10-07 13:42:29 -07:00
commit 4339532076

View File

@ -123,9 +123,7 @@ static dispatch_group_t http_request_operation_completion_group() {
#pragma mark - NSCoding
- (id)initWithCoder:(NSCoder *)aDecoder {
NSURLRequest *request = [aDecoder decodeObjectForKey:@"request"];
self = [self initWithRequest:request];
self = [super initWithCoder:aDecoder];
if (!self) {
return nil;
}