Fixes warning: atomic by default property 'X' has a user defined getter (property should be marked 'atomic' if this is intended) [-Werror,-Wcustom-atomic-properties]

This commit is contained in:
Oliver Jones 2012-11-30 18:13:43 +11:00
parent b75c673a2c
commit b64c6bd846

View file

@ -729,8 +729,8 @@ NSTimeInterval const kAFUploadStream3GSuggestedDelay = 0.2;
@property (nonatomic, assign) BOOL hasInitialBoundary; @property (nonatomic, assign) BOOL hasInitialBoundary;
@property (nonatomic, assign) BOOL hasFinalBoundary; @property (nonatomic, assign) BOOL hasFinalBoundary;
@property (readonly, getter = hasBytesAvailable) BOOL bytesAvailable; @property (nonatomic, readonly, getter = hasBytesAvailable) BOOL bytesAvailable;
@property (readonly) unsigned long long contentLength; @property (nonatomic, readonly) unsigned long long contentLength;
- (NSInteger)read:(uint8_t *)buffer maxLength:(NSUInteger)length; - (NSInteger)read:(uint8_t *)buffer maxLength:(NSUInteger)length;
@end @end
@ -738,8 +738,8 @@ NSTimeInterval const kAFUploadStream3GSuggestedDelay = 0.2;
@interface AFMultipartBodyStream : NSInputStream <NSStreamDelegate> @interface AFMultipartBodyStream : NSInputStream <NSStreamDelegate>
@property (nonatomic, assign) NSUInteger numberOfBytesInPacket; @property (nonatomic, assign) NSUInteger numberOfBytesInPacket;
@property (nonatomic, assign) NSTimeInterval delay; @property (nonatomic, assign) NSTimeInterval delay;
@property (readonly) unsigned long long contentLength; @property (nonatomic, readonly) unsigned long long contentLength;
@property (readonly, getter = isEmpty) BOOL empty; @property (nonatomic, readonly, getter = isEmpty) BOOL empty;
- (id)initWithStringEncoding:(NSStringEncoding)encoding; - (id)initWithStringEncoding:(NSStringEncoding)encoding;
- (void)setInitialAndFinalBoundaries; - (void)setInitialAndFinalBoundaries;