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

Fix clang-18 compilation error #355

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Fix clang-18 compilation error #355

merged 1 commit into from
Jun 3, 2024

Conversation

drslebedev
Copy link
Contributor

Fix clang-18 compilation error: use std::ranges::find instead of std::ranges::contains.

Copy link
Member

@RalphSteinhagen RalphSteinhagen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixing/downgrading the expression.

The std::ranges::contains seems to be a C++23 feature, and with the exception of std::expected and eventually std::println(...) we should minimise the use of C++23 features for now.

Can be merged as is.

Copy link

sonarcloud bot commented Jun 3, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@RalphSteinhagen RalphSteinhagen merged commit f748704 into main Jun 3, 2024
8 of 10 checks passed
@RalphSteinhagen RalphSteinhagen deleted the fixClang branch June 3, 2024 13:27
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