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