Fix include directive to solve redefinition error (#44891)

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

Changelog: [Internal]

Reviewed By: cortinico, fabriziocucci, cipolleschi

Differential Revision: D58459144

fbshipit-source-id: a07280de01c9ff4333e5140c6b741d88c1c5d89a
This commit is contained in:
Pieter De Baets
2024-06-12 07:24:40 -07:00
committed by Facebook GitHub Bot
parent 33aa83a0e6
commit c92f31d834
6 changed files with 13 additions and 12 deletions
@@ -9,13 +9,13 @@
#include <ReactCommon/CallInvokerHolder.h>
#include <ReactCommon/JavaTurboModule.h>
#include <ReactCommon/LongLivedObject.h>
#include <ReactCommon/NativeMethodCallInvokerHolder.h>
#include <ReactCommon/RuntimeExecutor.h>
#include <ReactCommon/TurboModule.h>
#include <ReactCommon/TurboModuleManagerDelegate.h>
#include <fbjni/fbjni.h>
#include <jsi/jsi.h>
#include <react/bridging/LongLivedObject.h>
#include <react/jni/CxxModuleWrapper.h>
#include <react/jni/JRuntimeExecutor.h>
#include <memory>
@@ -7,10 +7,8 @@
#pragma once
#include <react/bridging/Convert.h>
#include <ReactCommon/CallInvoker.h>
#include <jsi/jsi.h>
#include <react/bridging/Convert.h>
#include <cstdint>
#include <memory>
@@ -18,6 +16,8 @@
namespace facebook::react {
class CallInvoker;
template <typename T, typename = void>
struct Bridging;
@@ -11,12 +11,12 @@
#include <memory>
#include <ReactCommon/CallInvoker.h>
#include "LongLivedObject.h"
#include <react/bridging/LongLivedObject.h>
namespace facebook::react {
class CallInvoker;
// Helper for passing jsi::Function arg to other methods.
class CallbackWrapper : public LongLivedObject {
private:
@@ -10,6 +10,7 @@
#include <react/bridging/Base.h>
#include <react/bridging/CallbackWrapper.h>
#include <ReactCommon/CallInvoker.h>
#include <ReactCommon/SchedulerPriority.h>
namespace facebook::react {
@@ -9,9 +9,10 @@
#include <string>
#include <ReactCommon/LongLivedObject.h>
#include <ReactCommon/TurboModule.h>
#include <jsi/jsi.h>
#include <react/bridging/LongLivedObject.h>
#include <ReactCommon/TurboModule.h>
namespace facebook::react {
@@ -11,9 +11,8 @@
#include <string>
#include <jsi/jsi.h>
#include <ReactCommon/CallInvoker.h>
#include <ReactCommon/CallbackWrapper.h>
#include <react/bridging/CallbackWrapper.h>
#include <react/bridging/LongLivedObject.h>
namespace facebook::react {