Skip to content

Commit 72ab802

Browse files
committed
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]
1 parent d8b4dcb commit 72ab802

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AFNetworking/AFHTTPRequestOperation.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@
4444
/**
4545
A Boolean value that corresponds to whether the status code of the response is within the specified set of acceptable status codes. Returns `YES` if `acceptableStatusCodes` is `nil`.
4646
*/
47-
@property (readonly) BOOL hasAcceptableStatusCode;
47+
@property (nonatomic, readonly) BOOL hasAcceptableStatusCode;
4848

4949
/**
5050
A Boolean value that corresponds to whether the MIME type of the response is among the specified set of acceptable content types. Returns `YES` if `acceptableContentTypes` is `nil`.
5151
*/
52-
@property (readonly) BOOL hasAcceptableContentType;
52+
@property (nonatomic, readonly) BOOL hasAcceptableContentType;
5353

5454
/**
5555
The callback dispatch queue on success. If `NULL` (default), the main queue is used.

0 commit comments

Comments
 (0)