From 72ab802a2dbdbcad85749d0b832b29c7bc23015d Mon Sep 17 00:00:00 2001 From: Oliver Jones Date: Fri, 30 Nov 2012 18:02:15 +1100 Subject: [PATCH] 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] --- AFNetworking/AFHTTPRequestOperation.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AFNetworking/AFHTTPRequestOperation.h b/AFNetworking/AFHTTPRequestOperation.h index b7207f1..d6776b3 100644 --- a/AFNetworking/AFHTTPRequestOperation.h +++ b/AFNetworking/AFHTTPRequestOperation.h @@ -44,12 +44,12 @@ /** 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`. */ -@property (readonly) BOOL hasAcceptableStatusCode; +@property (nonatomic, readonly) BOOL hasAcceptableStatusCode; /** 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`. */ -@property (readonly) BOOL hasAcceptableContentType; +@property (nonatomic, readonly) BOOL hasAcceptableContentType; /** The callback dispatch queue on success. If `NULL` (default), the main queue is used.