Skip to content

Commit

Permalink
Fix Mac build issue on OSX10.9 and XCode 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pasin committed Apr 16, 2015
1 parent 5c80e70 commit 67e591b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Source/API/Extras/CBLIncrementalStore.m
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ -(BOOL) loadMetadata: (NSError**)outError {

#if !TARGET_OS_IPHONE
#if (__MAC_OS_X_VERSION_MIN_REQUIRED >= 1070)
if (rel.ordered)
if (rel.isOrdered)
WARN(@"'%@' entity has an ordered to-many relationship '%@', which is not supported "
"by the CBLIncrementalStore.", entity.name, rel.name);
#endif
Expand Down Expand Up @@ -1068,7 +1068,7 @@ - (NSString*) scanKeyPathExpression: (NSExpression*)expression
BOOL needJoins = NO;
if ([propertyDesc isKindOfClass:[NSRelationshipDescription class]]) {
NSRelationshipDescription* rel = (NSRelationshipDescription*)propertyDesc;
needJoins = hasDotAccess || rel.toMany;
needJoins = hasDotAccess || rel.isToMany;
}
if (outNeedJoinsQuery)
*outNeedJoinsQuery = needJoins;
Expand Down
6 changes: 3 additions & 3 deletions Unit-Tests/Replication_Tests.m
Original file line number Diff line number Diff line change
Expand Up @@ -560,19 +560,19 @@ - (void) test10_ReplicationCookie {
withValue: cookie1.value
path: cookie1.path
expirationDate: cookie1.expiresDate
secure: cookie1.secure];
secure: cookie1.isSecure];

[repl setCookieNamed: cookie2.name
withValue: cookie2.value
path: cookie2.path
expirationDate: cookie2.expiresDate
secure: cookie2.secure];
secure: cookie2.isSecure];

[repl setCookieNamed: cookie3.name
withValue: cookie3.value
path: cookie3.path
expirationDate: cookie3.expiresDate
secure: cookie3.secure];
secure: cookie3.isSecure];

[repl deleteCookieNamed: cookie2.name];

Expand Down

0 comments on commit 67e591b

Please sign in to comment.