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

[callback] update OnceCallback to clear moved-from rvalue reference #1913

Merged
merged 1 commit into from
Jun 17, 2023

Conversation

abtink
Copy link
Member

@abtink abtink commented Jun 16, 2023

This commit updates the OnceCallback move constructor and move assignment operator to ensure that the passed-in rvalue reference is cleared.


Should help address #1912.

This commit updates the `OnceCallback` move constructor and move
assignment operator to ensure that the passed-in rvalue reference is
cleared.
@abtink abtink force-pushed the callback/fix-once-callback branch from cd7af36 to 436046f Compare June 17, 2023 01:52
Copy link
Member

@wgtdkp wgtdkp left a comment

Choose a reason for hiding this comment

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

LGTM 👍
Thanks!

@jwhui jwhui merged commit 0a00acc into openthread:main Jun 17, 2023
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants