diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-31 23:48:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 23:48:16 +0200 |
commit | b777454097701595cb22a9e9249f76bec0e850d0 (patch) | |
tree | 4eacd63e1e5ab94b857050aa75e4e1d30604bb4d /platform/android/api | |
parent | d8b0a8cd29c1f67fe850d0df0ca09ffb4d73fe10 (diff) | |
parent | 2afef001e702046378a02fa887dbb361f39c7b6e (diff) |
Merge pull request #61573 from madmiraal/android-cleanup
Cleanup Android C++ code
Diffstat (limited to 'platform/android/api')
-rw-r--r-- | platform/android/api/jni_singleton.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/api/jni_singleton.h b/platform/android/api/jni_singleton.h index 8a0e021157..690fddae21 100644 --- a/platform/android/api/jni_singleton.h +++ b/platform/android/api/jni_singleton.h @@ -73,7 +73,7 @@ public: return Object::callp(p_method, p_args, p_argcount, r_error); } - ERR_FAIL_COND_V(!instance, Variant()); + ERR_FAIL_NULL_V(instance, Variant()); r_error.error = Callable::CallError::CALL_OK; |