diff --git a/packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTJscInstance.mm b/packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTJscInstance.mm index 06d61e8bb97..2cd08d2ff90 100644 --- a/packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTJscInstance.mm +++ b/packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTJscInstance.mm @@ -10,9 +10,10 @@ namespace facebook::react { -RCTJscInstance::RCTJscInstance() {} +RCTJscInstance::RCTJscInstance() = default; -std::unique_ptr RCTJscInstance::createJSRuntime(std::shared_ptr msgQueueThread) noexcept +std::unique_ptr RCTJscInstance::createJSRuntime( + std::shared_ptr /*msgQueueThread*/) noexcept { return std::make_unique(jsc::makeJSCRuntime()); }