mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +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:
committed by
Facebook GitHub Bot
parent
2a5265dff7
commit
009d80bf5a
+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