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:
parent
b75c673a2c
commit
b64c6bd846
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue