Skip to content

Commit 13aa05c

Browse files
Saadnajmiclaude
andcommitted
Add missing <string> and <vector> includes to HostPlatformColor.h
HostPlatformColor.h uses std::string (in ColorWithSystemEffect and createSemanticColor) and std::vector but did not include the corresponding headers, causing build failures when this header is included before any other header that transitively pulls them in. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8f84ace commit 13aa05c

File tree

1 file changed

+2
-0
lines changed
  • packages/react-native/ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics

1 file changed

+2
-0
lines changed

packages/react-native/ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/HostPlatformColor.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#include <react/renderer/graphics/ColorComponents.h>
1111
#include <react/utils/hash_combine.h>
1212
#include <cmath>
13+
#include <string>
14+
#include <vector>
1315

1416
namespace facebook::react {
1517

0 commit comments

Comments
 (0)