mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove CallInvoker parameter from toJs method in Codegen (#37832)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37832 This parameter is currently unused and is causing Android builds to fail as they compile with `-Wall` This is a follow-up to https://github.com/facebook/react-native/pull/37454/ as that PR updated only the `fromJs` and not the `toJs` method as well. Changelog: [Internal] [Changed] - Remove CallInvoker parameter from toJs method in Codegen Reviewed By: rshest Differential Revision: D46647110 fbshipit-source-id: 1f3e22aca7a3df11ac02b5c4b89c9311b8b1798c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
48cdc603f5
commit
3a246ed024
@@ -343,7 +343,7 @@ struct Bridging<${enumName}> {
|
||||
${fromCases}
|
||||
}
|
||||
|
||||
static ${toValue} toJs(jsi::Runtime &rt, ${enumName} value, const std::shared_ptr<CallInvoker> &jsInvoker) {
|
||||
static ${toValue} toJs(jsi::Runtime &rt, ${enumName} value) {
|
||||
${toCases}
|
||||
}
|
||||
};`;
|
||||
|
||||
Reference in New Issue
Block a user