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
This commit is contained in:
Samuel Susla
2023-09-22 05:53:13 -07:00
committed by Facebook GitHub Bot
parent d51621cc18
commit acea828e7a
@@ -7,13 +7,13 @@
#pragma once
#include <folly/Hash.h>
#include <react/renderer/core/EventEmitter.h>
#include <react/renderer/core/LayoutMetrics.h>
#include <react/renderer/core/Props.h>
#include <react/renderer/core/ReactPrimitives.h>
#include <react/renderer/core/ShadowNode.h>
#include <react/renderer/debug/flags.h>
#include <react/utils/hash_combine.h>
namespace facebook::react {
@@ -124,7 +124,7 @@ namespace std {
template <>
struct hash<facebook::react::ShadowView> {
size_t operator()(const facebook::react::ShadowView& shadowView) const {
return folly::hash::hash_combine(
return facebook::react::hash_combine(
0,
shadowView.surfaceId,
shadowView.componentHandle,