Fixes warning: property is assumed atomic by default [-Werror,-Wimplicit-atomic-properties]

This commit is contained in:
Oliver Jones 2012-11-29 18:06:05 +11:00
parent debd442903
commit f9449753ff

View file

@ -96,8 +96,8 @@ static void AFSwizzleClassMethodWithClassAndSelectorUsingBlock(Class klass, SEL
@property (readwrite, nonatomic, strong) NSURLRequest *request; @property (readwrite, nonatomic, strong) NSURLRequest *request;
@property (readwrite, nonatomic, strong) NSHTTPURLResponse *response; @property (readwrite, nonatomic, strong) NSHTTPURLResponse *response;
@property (readwrite, nonatomic, strong) NSError *HTTPError; @property (readwrite, nonatomic, strong) NSError *HTTPError;
@property (assign) long long totalContentLength; @property (atomic, assign) long long totalContentLength;
@property (assign) long long offsetContentLength; @property (atomic, assign) long long offsetContentLength;
@end @end
@implementation AFHTTPRequestOperation @implementation AFHTTPRequestOperation