mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Dropped using namespace from TurboModuleUtils.h
Summary: using namespace in header file is a bad practice due to many reasons as well as discouraged by `-Wheader-hygiene` compiler flag which is default for many apps https://stackoverflow.com/questions/5849457/using-namespace-in-c-headers Changelog: [General][Fixed] - Fixed compilation warning due to `using namespace` being used as part of header Reviewed By: nlutsenko Differential Revision: D34788523 fbshipit-source-id: 2a50fbf2ac3371ff5670c600c7f5ad9055060ad2
This commit is contained in:
1 parent
2a5265dff7
commit
009d80bf5a
4 files changed
+5
-5
No files matched your search
+3
-3
@@ -12,9 +12,9 @@
|
||||
#include "TurboModuleManager.h"
|
||||
|
||||
void jniEnableCppLogging(
|
||||
jni::alias_ref<jclass> cls,
|
||||
jni::alias_ref<facebook::react::JNativeModulePerfLogger::javaobject>
|
||||
perfLogger) {
|
||||
facebook::jni::alias_ref<jclass> cls,
|
||||
facebook::jni::alias_ref<
|
||||
facebook::react::JNativeModulePerfLogger::javaobject> perfLogger) {
|
||||
facebook::react::TurboModulePerfLogger::enableLogging(
|
||||
perfLogger->cthis()->get());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user