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
175175 GKLocalPlayer *_Nullable optionalLocalPlayer = [[NSClassFromString (@" GKLocalPlayer" ) alloc ] init ];
176176
177177 // Early-out if GameKit is not linked
178- if (optionalLocalPlayer == nullptr ) {
178+ if (! optionalLocalPlayer) {
179179 future_api->Complete (handle, kAuthErrorInvalidCredential ,
180180 " GameCenter authentication is unavailable - missing GameKit capability." );
181181 return MakeFuture (future_api, handle);
@@ -212,7 +212,7 @@ @implementation PhoneListenerDataObjC
212212 **/
213213 GKLocalPlayer *_Nullable optionalLocalPlayer = [[NSClassFromString (@" GKLocalPlayer" ) alloc ] init ];
214214 // If the GameKit Framework isn't linked - early out.
215- if (optionalLocalPlayer == nullptr ) {
215+ if (! optionalLocalPlayer) {
216216 return false ;
217217 }
218218 __weak GKLocalPlayer *localPlayer = [[optionalLocalPlayer class ] localPlayer ];
You can’t perform that action at this time.
0 commit comments