Providing user supplied default constructor for expect<void>

release-v0.5.1
Lee Clagett 6 years ago committed by wowario
parent 18683acc84
commit 6246aada9d
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -350,7 +350,9 @@ public:
using error_type = std::error_code;
//! Create a successful object.
expect() = default;
expect() noexcept
: code_()
{}
expect(std::error_code const& code) noexcept
: code_(code)

Loading…
Cancel
Save