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

Remove clang hacks #121

Merged
merged 2 commits into from
Apr 5, 2023
Merged

Remove clang hacks #121

merged 2 commits into from
Apr 5, 2023

Conversation

ahans
Copy link
Contributor

@ahans ahans commented Apr 4, 2023

The first instance of the clang workaround we can remove by simply dropping the need for a lambda: std::for_each with a capture-all lambda doesn't add anyting over a range-based for loop. In the second instance the workaround wasn't even necessary.

Closes #118

The first instance of the clang workaround we can remove by simply
dropping the need for a lambda: `std::for_each` with a capture-all
lambda doesn't add anyting over a range-based for loop. In the second
instance the workaround wasn't even necessary.
@nachovizzo
Copy link
Collaborator

Terrific solution!

Thanks for fixing this horrible mistake :D . I'm testing locally and merge afterward

auto was doing it anyways but this is more explicit
@nachovizzo nachovizzo merged commit 538afa3 into PRBonn:main Apr 5, 2023
13 checks passed
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.

Attempt to fix clang compiler hack
2 participants