From acea828e7a2014fbae8c6f4805c0d546b92549eb Mon Sep 17 00:00:00 2001 From: Samuel Susla Date: Fri, 22 Sep 2023 05:53:13 -0700 Subject: [PATCH] remove folly::hash from mounting module (#39510) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39510 changelog: [internal] Reviewed By: cipolleschi Differential Revision: D49350102 fbshipit-source-id: 0abfa7a9cf3d91b9913c5fb8602df08a043f30bf --- .../ReactCommon/react/renderer/mounting/ShadowView.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/ReactCommon/react/renderer/mounting/ShadowView.h b/packages/react-native/ReactCommon/react/renderer/mounting/ShadowView.h index 03742dc7b43..77dc6e1dcb5 100644 --- a/packages/react-native/ReactCommon/react/renderer/mounting/ShadowView.h +++ b/packages/react-native/ReactCommon/react/renderer/mounting/ShadowView.h @@ -7,13 +7,13 @@ #pragma once -#include #include #include #include #include #include #include +#include namespace facebook::react { @@ -124,7 +124,7 @@ namespace std { template <> struct hash { size_t operator()(const facebook::react::ShadowView& shadowView) const { - return folly::hash::hash_combine( + return facebook::react::hash_combine( 0, shadowView.surfaceId, shadowView.componentHandle,