mirror of
https://github.com/arcan1s/result.git
synced 2026-11-21 10:29:29 +00:00
allow implicit constructor of Result::Error
This commit is contained in:
1 parent
4c57042b2f
commit
4a3947fb91
1 file changed
+1
-1
+1
-1
@@ -53,7 +53,7 @@ public:
|
||||
* @param code
|
||||
* machine readable error code
|
||||
*/
|
||||
explicit Error(std::string message, ErrorEnum code)
|
||||
Error(std::string message, ErrorEnum code)
|
||||
: m_code(code)
|
||||
{
|
||||
m_message = std::move(message);
|
||||
|
||||
Reference in new issue
Block a user