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

Explicitly define default ContiguousBuffer assign op #166

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

studgeek
Copy link
Contributor

@studgeek studgeek commented Aug 7, 2024

Since code defines copy constructor it should also define the assignment operator (rule of three).

This also fixes #148.

Since code defines copy constructor it should also define the
assignment operator (rule of three). This also stops -Wdeprecated-copy
warnings in downstream clients.
Copy link
Collaborator

@jasongraffius jasongraffius left a comment

Choose a reason for hiding this comment

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

LGTM

@jasongraffius jasongraffius merged commit 8c45c34 into google:master Aug 9, 2024
3 checks passed
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.

Update code to not have deprecated-copy warnings
2 participants