Add missing <algorithm> import in (#37262)

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

Fix compile errors on Windows as
```
stderr:react-native-github\packages\react-native\ReactCommon\react\renderer\componentregistry\componentNameByReactViewName.cpp(18,12): error: no member named 'mismatch' in namespace 'std'
  if (std::mismatch(rctPrefix.begin(), rctPrefix.end(), viewName.begin())
      ~~~~~^
```

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D45597108

fbshipit-source-id: e9e1439fe35727e6c4b956e7ec03236758910b60
This commit is contained in:
Christoph Purrer
2023-05-05 10:30:12 -07:00
committed by Facebook GitHub Bot
parent 7dcaf00835
commit 8cfc1c3e75
@@ -6,6 +6,7 @@
*/
#include "componentNameByReactViewName.h"
#include <algorithm>
namespace facebook::react {