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

Initialize local variables in constexpr code #3044

Merged
merged 1 commit into from
Jul 4, 2021

Conversation

eggrobin
Copy link
Member

@eggrobin eggrobin commented Jul 4, 2021

Fix the clang build after #3040.

We could use std::optional to make the delayed initialization explicit, but a NaN seems less intrusive.

@eggrobin eggrobin added the TBR label Jul 4, 2021
@eggrobin eggrobin merged commit ba45f45 into mockingbirdnest:master Jul 4, 2021
@eggrobin eggrobin mentioned this pull request Jul 4, 2021
@pleroy pleroy added LGTM and removed TBR labels Jul 7, 2021
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.

None yet

2 participants