diff --git a/packages/react-native/ReactCommon/jsc/JSCRuntime.cpp b/packages/react-native/ReactCommon/jsc/JSCRuntime.cpp index 9e188fad527..46528bad745 100644 --- a/packages/react-native/ReactCommon/jsc/JSCRuntime.cpp +++ b/packages/react-native/ReactCommon/jsc/JSCRuntime.cpp @@ -18,8 +18,7 @@ #include #include -namespace facebook { -namespace jsc { +namespace facebook::jsc { namespace detail { class ArgsConverter; @@ -1582,5 +1581,4 @@ std::unique_ptr makeJSCRuntime() { return std::make_unique(); } -} // namespace jsc -} // namespace facebook +} // namespace facebook::jsc diff --git a/packages/react-native/ReactCommon/jsc/JSCRuntime.h b/packages/react-native/ReactCommon/jsc/JSCRuntime.h index 1d6b2259fcd..281b5558c89 100644 --- a/packages/react-native/ReactCommon/jsc/JSCRuntime.h +++ b/packages/react-native/ReactCommon/jsc/JSCRuntime.h @@ -10,10 +10,8 @@ #include #include -namespace facebook { -namespace jsc { +namespace facebook::jsc { std::unique_ptr makeJSCRuntime(); -} // namespace jsc -} // namespace facebook +} // namespace facebook::jsc