allow implicit constructor of Result::Error

This commit is contained in:
Evgenii Alekseev 2017-10-23 13:08:24 +03:00
parent 4c57042b2f
commit 4a3947fb91

View File

@ -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);