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

Clean up std::optional dereferencing in the queue runner #1329

Merged
merged 1 commit into from
Dec 24, 2023

Conversation

Ericson2314
Copy link
Member

Instead of doing this partial operation a number of times, assert (with a comment, get a reference to the thing inside, and use that just once. (This refactor was done twice, "just once" for each time.)

Instead of doing this partial operation a number of times, assert (with
a comment, get a reference to the thing inside, and use that just once.
(This refactor was done twice, "just once" for each time.)
@Ericson2314
Copy link
Member Author

This will also shrink the diff for #1316, which is my main motivation.

@Ericson2314 Ericson2314 merged commit 02e453f into master Dec 24, 2023
2 checks passed
@Ericson2314 Ericson2314 deleted the small-std-optional-cleanup branch December 24, 2023 00:18
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.

1 participant