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 the helper FindOrNull, FindPtrOrNull. #1849

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Dec 5, 2024

Remove the helper FindOrNull, FindPtrOrNull.

These utility are useless and worsens the readability. This is not at all a c++ way to do things. We should rather use the .find and the iterator to check existence.

@copybara-service copybara-service bot changed the title Remove the helper FindOrNull. Remove the helper FindOrNull, FindPtrOrNull. Dec 6, 2024
These utility are useless and worsens the readability. This is not at all a c++ way to do things. We should rather use the .find and the iterator to check existence.

PiperOrigin-RevId: 703480889
@copybara-service copybara-service bot merged commit a70b7b2 into main Dec 6, 2024
1 check passed
@copybara-service copybara-service bot deleted the cl/703164659 branch December 6, 2024 14:32
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.

1 participant