Skip to content
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

small std::find conversion #1933

Merged
merged 1 commit into from
May 10, 2021
Merged

small std::find conversion #1933

merged 1 commit into from
May 10, 2021

Conversation

neheb
Copy link
Contributor

@neheb neheb commented May 9, 2021

Signed-off-by: Rosen Penev rosenp@gmail.com

@gabime
Copy link
Owner

gabime commented May 9, 2021

Thanks. Please add includes for algorithm and for iterator.

@neheb
Copy link
Contributor Author

neheb commented May 9, 2021

Iterator? I think algorithm is enough.

@neheb
Copy link
Contributor Author

neheb commented May 9, 2021

Added both.

@gabime
Copy link
Owner

gabime commented May 9, 2021

The includes should be only in the common-inl.h file(so user code not forced to include those in compiled version)

Signed-off-by: Rosen Penev <rosenp@gmail.com>
@neheb
Copy link
Contributor Author

neheb commented May 10, 2021

Done. It honestly sounds like a job for iwyu though...

@gabime gabime merged commit 87133ef into gabime:v1.x May 10, 2021
@gabime
Copy link
Owner

gabime commented May 10, 2021

Thanks @neheb .

@neheb neheb deleted the s branch May 11, 2021 00:16
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.

None yet

2 participants