Skip to content

Comments

Initialize duration struct members to fix uninitialized data on Windows#78

Open
bitshifter wants to merge 5 commits intolibnonius:develfrom
bitshifter:initdurations
Open

Initialize duration struct members to fix uninitialized data on Windows#78
bitshifter wants to merge 5 commits intolibnonius:develfrom
bitshifter:initdurations

Conversation

@bitshifter
Copy link

Fixes #74. Initially I just changed execution_plan but I've changed the rest for good measure. Unfortunately adding default member initializers means constructors need to be added and called from the conversion cast operator. I tried calling Duration::zero() instead of using = {} but MSVC seemed to get confused with the template alias nonius::Duration in some places.

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