Skip to content

Commit

Permalink
Fixed build using Xcode 10 beta 1 (#231)
Browse files Browse the repository at this point in the history
third_party/objective_c/google_api_objectivec_client_for_rest/Source/Objects/GTLRObject.m:405:28: error: implicit conversion from nullable pointer 'NSString * _Nullable' to non-nullable pointer type 'id _Nonnull' [-Werror,-Wnullable-to-nonnull-conversion]
          [array addObject:@(propName)];
                           ^
  • Loading branch information
jpoumailloux authored and thomasvl committed Jun 5, 2018
1 parent dc52bf1 commit 4a5c999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Objects/GTLRObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ + (NSMutableArray *)allDeclaredProperties {
const char *dynamicMarker = strstr(attr, ",D");
if (dynamicMarker &&
(dynamicMarker[2] == 0 || dynamicMarker[2] == ',' )) {
[array addObject:@(propName)];
[array addObject:(id _Nonnull)@(propName)];
}
}
free(properties);
Expand Down

0 comments on commit 4a5c999

Please sign in to comment.