mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix CQS signal readability-implicit-bool-conversion in xplat/yoga/java/jni
Reviewed By: javache Differential Revision: D83034754
This commit is contained in:
committed by
Facebook GitHub Bot
parent
18ba21149a
commit
a928f02eb5
+1
-1
@@ -15,7 +15,7 @@ namespace {
|
||||
JavaVM* globalVm = nullptr;
|
||||
struct JavaVMInitializer {
|
||||
explicit JavaVMInitializer(JavaVM* vm) {
|
||||
if (!vm) {
|
||||
if (vm == nullptr) {
|
||||
logErrorMessageAndDie(
|
||||
"You cannot pass a NULL JavaVM to ensureInitialized");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user