File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ @implementation PhoneListenerDataObjC
175
175
GKLocalPlayer *_Nullable optionalLocalPlayer = [[NSClassFromString (@" GKLocalPlayer" ) alloc ] init ];
176
176
177
177
// Early-out if GameKit is not linked
178
- if (optionalLocalPlayer == nullptr ) {
178
+ if (! optionalLocalPlayer) {
179
179
future_api->Complete (handle, kAuthErrorInvalidCredential ,
180
180
" GameCenter authentication is unavailable - missing GameKit capability." );
181
181
return MakeFuture (future_api, handle);
@@ -212,7 +212,7 @@ @implementation PhoneListenerDataObjC
212
212
**/
213
213
GKLocalPlayer *_Nullable optionalLocalPlayer = [[NSClassFromString (@" GKLocalPlayer" ) alloc ] init ];
214
214
// If the GameKit Framework isn't linked - early out.
215
- if (optionalLocalPlayer == nullptr ) {
215
+ if (! optionalLocalPlayer) {
216
216
return false ;
217
217
}
218
218
__weak GKLocalPlayer *localPlayer = [[optionalLocalPlayer class ] localPlayer ];
You can’t perform that action at this time.
0 commit comments