diff --git a/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.h b/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.h index 00f7df59187..de805762c82 100644 --- a/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.h +++ b/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.h @@ -15,8 +15,7 @@ #import "RCTTurboModule.h" -namespace facebook { -namespace react { +namespace facebook::react { class JSI_EXPORT ObjCInteropTurboModule : public ObjCTurboModule { public: @@ -94,5 +93,4 @@ class JSI_EXPORT ObjCInteropTurboModule : public ObjCTurboModule { void _logLegacyArchitectureWarning(NSString *moduleName, const std::string &methodName); }; -} // namespace react -} // namespace facebook +} // namespace facebook::react diff --git a/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm b/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm index 98df9165c41..1fab2861ff5 100644 --- a/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm +++ b/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm @@ -17,8 +17,7 @@ #import #import -namespace facebook { -namespace react { +namespace facebook::react { namespace { @@ -695,5 +694,4 @@ std::vector ObjCInteropTurboModule::getPropertyNames( return propNames; } -} // namespace react -} // namespace facebook +} // namespace facebook::react diff --git a/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm b/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm index efd8febc4ba..2a677974ca8 100644 --- a/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm +++ b/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm @@ -39,8 +39,7 @@ static int32_t getUniqueId() return counter++; } -namespace facebook { -namespace react { +namespace facebook::react { namespace TurboModuleConvertUtils { /** @@ -856,8 +855,7 @@ void ObjCTurboModule::setEventEmitterCallback(EventEmitterCallback eventEmitterC } } -} // namespace react -} // namespace facebook +} // namespace facebook::react @implementation EventEmitterCallbackWrapper @end