mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
7dcaf00835
commit
8cfc1c3e75
+1
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "componentNameByReactViewName.h"
|
||||
#include <algorithm>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user