diff --git a/ReactCommon/fabric/core/primitives/ReactPrimitives.h b/ReactCommon/fabric/core/primitives/ReactPrimitives.h index 85bdb3a7d45..f38489dc3c7 100644 --- a/ReactCommon/fabric/core/primitives/ReactPrimitives.h +++ b/ReactCommon/fabric/core/primitives/ReactPrimitives.h @@ -12,7 +12,6 @@ #include #include #include -#include namespace facebook { namespace react { diff --git a/ReactCommon/fabric/mounting/ShadowTreeRegistry.h b/ReactCommon/fabric/mounting/ShadowTreeRegistry.h index 5fc69bb5d1f..4ccc306021f 100644 --- a/ReactCommon/fabric/mounting/ShadowTreeRegistry.h +++ b/ReactCommon/fabric/mounting/ShadowTreeRegistry.h @@ -7,6 +7,7 @@ #pragma once +#include #include #include @@ -60,7 +61,7 @@ class ShadowTreeRegistry final { private: mutable better::shared_mutex mutex_; - mutable std::unordered_map> + mutable better::map> registry_; // Protected by `mutex_`. };