Use C++17 namespace (#41771)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/41771

Changelog: [Internal]

Since we are already enforcing C++20 (and 17), we can set the namespace declaration to the C++17 style

Reviewed By: NickGerleman

Differential Revision: D51789991

fbshipit-source-id: 165d7d4e652d60ab200e2355e084010a02f470a4
This commit is contained in:
Christoph Purrer
2023-12-04 19:07:51 -08:00
committed by Facebook GitHub Bot
parent 974e584891
commit b101dd0e34
15 changed files with 658 additions and 874 deletions
@@ -119,13 +119,11 @@ const FileTemplate = ({
#include <ReactCommon/TurboModule.h>
#include <react/bridging/Bridging.h>
namespace facebook {
namespace react {
namespace facebook::react {
${modules.join('\n\n')}
} // namespace react
} // namespace facebook
} // namespace facebook::react
`;
};