Skip to content

fix(0.81): Add missing <string> and <vector> includes to HostPlatformColor.h#2890

Open
Saadnajmi wants to merge 1 commit intomicrosoft:0.81-stablefrom
Saadnajmi:0.81/snajmi/fix-missing-string-header
Open

fix(0.81): Add missing <string> and <vector> includes to HostPlatformColor.h#2890
Saadnajmi wants to merge 1 commit intomicrosoft:0.81-stablefrom
Saadnajmi:0.81/snajmi/fix-missing-string-header

Conversation

@Saadnajmi
Copy link
Copy Markdown
Collaborator

Summary

Backport of the changes from branch snajmi/fix-missing-string-header to 0.81-stable.

Test Plan

Same as the original PR.

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>
@Saadnajmi Saadnajmi requested a review from a team as a code owner April 7, 2026 05:00
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 7, 2026

⚠️ No Changeset found

Latest commit: a3ce6e8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants