Skip to content

Add missing includes of <iterator> header #982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2025

Conversation

dsanders11
Copy link
Contributor

The std::back_insert_iterator function is defined in the <iterator> header, so it should be included in files which use that function.

@anonrig
Copy link
Member

anonrig commented Jul 22, 2025

Thank you! Are you using Ada in any Microsoft projects?

@dsanders11
Copy link
Contributor Author

@anonrig, this came out of Electron's usage of Node.js. 🙂 The missing includes were causing a compilation error when we upgraded Chromium versions, I'm assuming <iterator> was previously being pulled in transitively allowing this to build for us before, but something changed.

@anonrig anonrig merged commit 7e0535c into ada-url:main Jul 22, 2025
48 checks passed
@dsanders11 dsanders11 deleted the chore/add-iterator-includes branch July 22, 2025 04:54
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