Skip to content

Commit df0d7de

Browse files
javachemeta-codesync[bot]
authored andcommitted
Reduce visbility of JSCRuntime target (#57093)
Summary: Pull Request resolved: #57093 This is only pulled in by a few targets. Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D107651646 fbshipit-source-id: fa9a441dabf50e36ca7549cfc09591ebae67b75c
1 parent abb071b commit df0d7de

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon

packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTJscInstance.mm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010

1111
namespace facebook::react {
1212

13-
RCTJscInstance::RCTJscInstance() {}
13+
RCTJscInstance::RCTJscInstance() = default;
1414

15-
std::unique_ptr<JSRuntime> RCTJscInstance::createJSRuntime(std::shared_ptr<MessageQueueThread> msgQueueThread) noexcept
15+
std::unique_ptr<JSRuntime> RCTJscInstance::createJSRuntime(
16+
std::shared_ptr<MessageQueueThread> /*msgQueueThread*/) noexcept
1617
{
1718
return std::make_unique<JSIRuntimeHolder>(jsc::makeJSCRuntime());
1819
}

0 commit comments

Comments
 (0)