mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
974e584891
commit
b101dd0e34
@@ -101,14 +101,12 @@ const FileTemplate = ({
|
||||
|
||||
#include "${libraryName}JSI.h"
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
namespace facebook::react {
|
||||
|
||||
${modules}
|
||||
|
||||
|
||||
} // namespace react
|
||||
} // namespace facebook
|
||||
} // namespace facebook::react
|
||||
`;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user