Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Make BaseActivation class move-constructible/assignable#164

Merged
TristonianJones merged 1 commit into
cel-expr:mastercel-expr/cel-cpp:masterfrom
tyxia:activationtyxia/cel-cpp:activationCopy head branch name to clipboard
Mar 8, 2023
Merged

Make BaseActivation class move-constructible/assignable#164
TristonianJones merged 1 commit into
cel-expr:mastercel-expr/cel-cpp:masterfrom
tyxia:activationtyxia/cel-cpp:activationCopy head branch name to clipboard

Conversation

@tyxia

@tyxia tyxia commented Mar 8, 2023

Copy link
Copy Markdown
Contributor

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 cel-expr:master Mar 8, 2023
@TristonianJones

Copy link
Copy Markdown
Collaborator

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

@tyxia

tyxia commented Mar 8, 2023

Copy link
Copy Markdown
Contributor Author

@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
Copy Markdown
Collaborator

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

@tyxia

tyxia commented Mar 9, 2023

Copy link
Copy Markdown
Contributor Author

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.