Skip to content

CXX-3043 Address additional Ro3/Ro5 violations #1145

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

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

eramongodb
Copy link
Contributor

Followup to #1142 which addresses a few more instances of Ro3/Ro5 violations which were missed in the prior PR.

@eramongodb eramongodb requested a review from rcsanchez97 June 5, 2024 18:03
@eramongodb eramongodb self-assigned this Jun 5, 2024
Copy link
Contributor

@rcsanchez97 rcsanchez97 left a comment

Choose a reason for hiding this comment

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

LGTM

@eramongodb
Copy link
Contributor Author

Evergreen identified a case of C++17 guaranteed copy elision that is incorrect for scoped_server_description in pre-C++17 code. Added proper move semantics to scoped_server_description accordingly. Verified by this patch.

@eramongodb eramongodb merged commit fb2d4f7 into mongodb:master Jun 6, 2024
1 check was pending
@eramongodb eramongodb deleted the cxx-3043 branch June 6, 2024 19:50
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