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 std::find_if rather than loop #3185

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

kevinbackhouse
Copy link
Collaborator

Alternative to the code that we were discussing here: #3169 (comment)

@kevinbackhouse kevinbackhouse requested a review from neheb February 21, 2025 13:31
@neheb
Copy link
Collaborator

neheb commented Feb 21, 2025

Shouldn’t this use std::distance?

@kevinbackhouse
Copy link
Collaborator Author

Shouldn’t this use std::distance?

LOL, I knew there must be a better way. 🤦

@neheb neheb merged commit 10929a2 into Exiv2:main Feb 21, 2025
59 of 60 checks passed
@kevinbackhouse kevinbackhouse deleted the properties-find-if branch February 21, 2025 18:12
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