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

Use range loops instead of iterator when possible #3862

Merged
merged 5 commits into from
Nov 21, 2024
Merged

Conversation

lpugin
Copy link
Contributor

@lpugin lpugin commented Nov 18, 2024

No change expected since this is only about simplifying code syntax.

src/doc.cpp Outdated Show resolved Hide resolved
@lpugin lpugin merged commit d690a06 into develop Nov 21, 2024
9 checks passed
@lpugin lpugin deleted the develop-range-loops branch November 21, 2024 13:25
@ahankinson ahankinson restored the develop-range-loops branch November 21, 2024 13:48
@ahankinson ahankinson deleted the develop-range-loops branch November 21, 2024 13:48
@ahankinson
Copy link
Contributor

It's b0rken... Something about parts of C++20 not supported on some compilers?

@rettinghaus
Copy link
Contributor

Range loops are supported since C++11.

@ahankinson
Copy link
Contributor

Oh, sorry -- wrong PR. Supposed to be #3852.

However, now that you mention it, the failure seems to have something to do with ranges, Ubuntu, and clang.

https://github.com/rism-digital/verovio/actions/runs/11954325075/job/33324173143#step:6:269

@lpugin
Copy link
Contributor Author

lpugin commented Nov 21, 2024

Yes, something was broken. Not sure what exactly, so I just avoided using ranges. It is looking good now. Thanks.

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.

3 participants