Commit 5c7454a
fix: add missing <string> and <vector> includes to HostPlatformColor.h (#2889)
## Summary
- `HostPlatformColor.h` uses `std::string` (in `ColorWithSystemEffect`
struct and `createSemanticColor` declaration) and
`std::vector<std::string>` but did not include the `<string>` or
`<vector>` headers.
- This causes build failures when this header is included before any
other header that transitively pulls in those standard library headers
(e.g. via `PointerHoverTracker.cpp`).
- Adds the missing `#include <string>` and `#include <vector>`.
## Test plan
- [x] Verified the build error is resolved with this change
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a885ae6 commit 5c7454a
1 file changed
Lines changed: 2 additions & 0 deletions
File tree
- packages/react-native/ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments