mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-01-18 11:28:34 +00:00
Merge pull request #4610
9b6dd934 Providing user supplied default constructor for expect<void> (Lee Clagett)
This commit is contained in:
commit
5c85da5a73
@ -350,7 +350,9 @@ public:
|
|||||||
using error_type = std::error_code;
|
using error_type = std::error_code;
|
||||||
|
|
||||||
//! Create a successful object.
|
//! Create a successful object.
|
||||||
expect() = default;
|
expect() noexcept
|
||||||
|
: code_()
|
||||||
|
{}
|
||||||
|
|
||||||
expect(std::error_code const& code) noexcept
|
expect(std::error_code const& code) noexcept
|
||||||
: code_(code)
|
: code_(code)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user