mirror of
https://github.com/arcan1s/result.git
synced 2025-04-24 23:47:18 +00:00
add default Result::Result constructor
This commit is contained in:
parent
4a3947fb91
commit
65b5c8cc1d
@ -110,6 +110,10 @@ template <class T, typename ErrorEnum>
|
||||
class Result : public std::variant<T, Error<ErrorEnum>>
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* @brief default class constructor
|
||||
*/
|
||||
Result() = default;
|
||||
/**
|
||||
* @brief Result constructor with value
|
||||
* @param value
|
||||
|
Loading…
Reference in New Issue
Block a user