mirror of
https://github.com/arcan1s/result.git
synced 2025-04-24 15:37:18 +00:00
add default constructor to Result::Error
This commit is contained in:
parent
e2ee009b6a
commit
f3e2f844fa
@ -47,7 +47,11 @@ template <typename ErrorEnum> class Error
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* @brief Error class default constructor
|
* @brief default class constructor
|
||||||
|
*/
|
||||||
|
Error() = default;
|
||||||
|
/**
|
||||||
|
* @brief Error class constructor
|
||||||
* @param message
|
* @param message
|
||||||
* human readable error message
|
* human readable error message
|
||||||
* @param code
|
* @param code
|
||||||
|
Loading…
Reference in New Issue
Block a user