Skip to content

Commit bf0fc17

Browse files
committed
Merge pull request #67 from ParsePlatform/nlutsenko.warnings
Enable implicit atomicity on properties warning.
2 parents fa53012 + b876f42 commit bf0fc17

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Configurations/Shared/Warnings.xcconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ CLANG_WARN_ENUM_CONVERSION = YES
3636
CLANG_WARN_UNREACHABLE_CODE = YES
3737
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
3838
CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES
39+
CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES
3940

4041
// Errors
4142
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR

Parse/Internal/User/PFUserPrivate.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ extern NSString *const PFUserCurrentUserKeychainItemName;
6666
// to the currentUser singleton and disk object
6767
@property (nonatomic, assign) BOOL isCurrentUser;
6868

69-
@property (strong, readonly) NSMutableDictionary *authData;
70-
@property (strong, readonly) NSMutableSet *linkedServiceNames;
69+
@property (nonatomic, strong, readonly) NSMutableDictionary *authData;
70+
@property (nonatomic, strong, readonly) NSMutableSet *linkedServiceNames;
7171
@property (nonatomic, assign) BOOL isLazy;
7272

7373
- (BOOL)_isAuthenticatedWithCurrentUser:(PFUser *)currentUser;

0 commit comments

Comments
 (0)