-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lowlevel: Add explicit default ctor for ResultStorage on VS 2019
For some reason simply making the val_or_err field a default-constructible type wasn't enough to work around the bug. This commit also makes the compiler check more specific, as the bug was present until partway through the VS 17.2 release cycle.
- Loading branch information
Showing
1 changed file
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters