Skip to content

Commit a0d4e18

Browse files
generatedunixname89002005287564facebook-github-bot
authored andcommitted
Fix CQS signal modernize-concat-nested-namespaces in xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/jni/react/hermes/instrumentation (#52285)
Summary: Pull Request resolved: #52285 Reviewed By: cortinico Differential Revision: D77359122 fbshipit-source-id: ad425cdfecf57210ae79a8bad25fde4896b476c1
1 parent fbd8281 commit a0d4e18

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

packages/react-native/ReactAndroid/src/main/jni/react/hermes/instrumentation/HermesSamplingProfiler.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99

1010
#include <hermes/hermes.h>
1111

12-
namespace facebook {
13-
namespace jsi {
14-
namespace jni {
12+
namespace facebook::jsi::jni {
1513

1614
void HermesSamplingProfiler::enable(jni::alias_ref<jclass>) {
1715
auto* hermesAPI =
@@ -43,6 +41,4 @@ void HermesSamplingProfiler::registerNatives() {
4341
});
4442
}
4543

46-
} // namespace jni
47-
} // namespace jsi
48-
} // namespace facebook
44+
} // namespace facebook::jsi::jni

packages/react-native/ReactAndroid/src/main/jni/react/hermes/instrumentation/HermesSamplingProfiler.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
#include <fbjni/fbjni.h>
1212
#include <jsi/jsi.h>
1313

14-
namespace facebook {
15-
namespace jsi {
16-
namespace jni {
14+
namespace facebook::jsi::jni {
1715

1816
namespace jni = ::facebook::jni;
1917

@@ -33,8 +31,6 @@ class HermesSamplingProfiler : public jni::JavaClass<HermesSamplingProfiler> {
3331
HermesSamplingProfiler();
3432
};
3533

36-
} // namespace jni
37-
} // namespace jsi
38-
} // namespace facebook
34+
} // namespace facebook::jsi::jni
3935

4036
#endif /* HERMESSAMPLINGPROFILER_H_ */

0 commit comments

Comments
 (0)