Skip to content

Commit 3de1f76

Browse files
javachefacebook-github-bot
authored andcommitted
Reduce visbility of JSCRuntime target (#57093)
Summary: This is only pulled in by a few targets. Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D107651646
1 parent 2ff3b81 commit 3de1f76

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)