nonius icon indicating copy to clipboard operation
nonius copied to clipboard

Initialize duration struct members to fix uninitialized data on Windows

Open bitshifter opened this issue 9 years ago • 0 comments

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.

bitshifter avatar Sep 24 '16 12:09 bitshifter