Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make BaseActivation class move-constructible/assignable #164

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 1 commit into from
Mar 8, 2023

Conversation

tyxia
Copy link
Contributor

@tyxia tyxia commented Mar 8, 2023

The copy constructor/assignment are explicitly deleted. These user-defined function will also delete implicitly-declared move constructor/assignment, which make this class not move-constructible/assignable.

Bring them back by adding =default move constructor/assignment.

Also, change default destructor to use =default which is suggested by style guide.

@tyxia tyxia changed the title make BaseActivation class move-constructible/assignable Make BaseActivation class move-constructible/assignable Mar 8, 2023
@tyxia tyxia marked this pull request as ready for review March 8, 2023 22:07
@TristonianJones TristonianJones merged commit da0aba7 into google:master Mar 8, 2023
@TristonianJones
Copy link
Collaborator

@tyxia do you also need this change backported to a specific release branch as well?

@tyxia
Copy link
Contributor Author

tyxia commented Mar 8, 2023

@tyxia do you also need this change backported to a specific release branch as well?

I think not but let me confirm with @kyessenov, do you think we need this change in any specific release branch if Envoy want to use it? Thanks

@kyessenov
Copy link
Collaborator

Envoy usually uses at head, but I don't remember if we synced the heads together.

@tyxia
Copy link
Contributor Author

tyxia commented Mar 9, 2023

Envoy usually uses at head, but I don't remember if we synced the heads together.

Thanks Kuat. @TristonianJones I think we are good for now. I will reach out if we need the help from your end. Thanks!

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.

3 participants