mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
RCTTurboModuleManager | Fix narrowing conversion. (#39829)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39829 Changelog: [iOS][Fixed] - Fixed narrowing conversion compilation error. Reviewed By: sodastsai Differential Revision: D49948385 fbshipit-source-id: 84385b90c1998d99980f1afd8b62e94202301afe
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ce39931bc2
commit
ed9931f456
+2
-2
@@ -375,7 +375,7 @@ static Class getFallbackClassFromName(const char *name)
|
||||
.jsInvoker = _jsInvoker,
|
||||
.nativeMethodCallInvoker = nativeMethodCallInvoker,
|
||||
.isSyncModule = methodQueue == RCTJSThread,
|
||||
.shouldVoidMethodsExecuteSync = RCTTurboModuleSyncVoidMethodsEnabled(),
|
||||
.shouldVoidMethodsExecuteSync = (bool)RCTTurboModuleSyncVoidMethodsEnabled(),
|
||||
};
|
||||
|
||||
auto turboModule = [(id<RCTTurboModule>)module getTurboModule:params];
|
||||
@@ -438,7 +438,7 @@ static Class getFallbackClassFromName(const char *name)
|
||||
.jsInvoker = _jsInvoker,
|
||||
.nativeMethodCallInvoker = std::move(nativeMethodCallInvoker),
|
||||
.isSyncModule = methodQueue == RCTJSThread,
|
||||
.shouldVoidMethodsExecuteSync = RCTTurboModuleSyncVoidMethodsEnabled(),
|
||||
.shouldVoidMethodsExecuteSync = (bool)RCTTurboModuleSyncVoidMethodsEnabled(),
|
||||
};
|
||||
|
||||
auto turboModule = std::make_shared<ObjCInteropTurboModule>(params);
|
||||
|
||||
Reference in New Issue
Block a user