From 5e650d0105b77bbc51404ce39087af5a4e1211b3 Mon Sep 17 00:00:00 2001 From: Christoph Purrer Date: Sun, 6 Jul 2025 20:56:16 -0700 Subject: [PATCH] Remove more unused #includes (#52389) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52389 Changelog: [Internal] Reviewed By: philIip Differential Revision: D77706943 fbshipit-source-id: b8662737699ec0857845cfded49302ee9e93b78e --- .../react-native/ReactCommon/cxxreact/MessageQueueThread.h | 2 -- .../react/runtime/BridgelessNativeMethodCallInvoker.h | 1 - packages/react-native/ReactCommon/react/utils/OnScopeExit.h | 2 +- packages/react-native/ReactCommon/react/utils/PackTraits.h | 2 -- packages/react-native/ReactCommon/react/utils/iequals.h | 4 +--- 5 files changed, 2 insertions(+), 9 deletions(-) diff --git a/packages/react-native/ReactCommon/cxxreact/MessageQueueThread.h b/packages/react-native/ReactCommon/cxxreact/MessageQueueThread.h index faff24c116d..4c31f881a7d 100644 --- a/packages/react-native/ReactCommon/cxxreact/MessageQueueThread.h +++ b/packages/react-native/ReactCommon/cxxreact/MessageQueueThread.h @@ -7,9 +7,7 @@ #pragma once -#include #include -#include namespace facebook::react { diff --git a/packages/react-native/ReactCommon/react/runtime/BridgelessNativeMethodCallInvoker.h b/packages/react-native/ReactCommon/react/runtime/BridgelessNativeMethodCallInvoker.h index 60509b09867..d707f2f4860 100644 --- a/packages/react-native/ReactCommon/react/runtime/BridgelessNativeMethodCallInvoker.h +++ b/packages/react-native/ReactCommon/react/runtime/BridgelessNativeMethodCallInvoker.h @@ -9,7 +9,6 @@ #include #include -#include #include namespace facebook::react { diff --git a/packages/react-native/ReactCommon/react/utils/OnScopeExit.h b/packages/react-native/ReactCommon/react/utils/OnScopeExit.h index ce8e907da3b..73db32e1155 100644 --- a/packages/react-native/ReactCommon/react/utils/OnScopeExit.h +++ b/packages/react-native/ReactCommon/react/utils/OnScopeExit.h @@ -7,7 +7,7 @@ #pragma once -#include +#include namespace facebook::react { diff --git a/packages/react-native/ReactCommon/react/utils/PackTraits.h b/packages/react-native/ReactCommon/react/utils/PackTraits.h index 91d912f4a06..4415fec8be5 100644 --- a/packages/react-native/ReactCommon/react/utils/PackTraits.h +++ b/packages/react-native/ReactCommon/react/utils/PackTraits.h @@ -7,8 +7,6 @@ #pragma once -#include -#include #include namespace facebook::react::traits { diff --git a/packages/react-native/ReactCommon/react/utils/iequals.h b/packages/react-native/ReactCommon/react/utils/iequals.h index b30bd5b9e9d..b577d559600 100644 --- a/packages/react-native/ReactCommon/react/utils/iequals.h +++ b/packages/react-native/ReactCommon/react/utils/iequals.h @@ -7,10 +7,8 @@ #pragma once -#include -#include - #include +#include namespace facebook::react {