From 4a3947fb9109bb05cd9d4ad56df57f7155bd4307 Mon Sep 17 00:00:00 2001 From: Evgeniy Alekseev Date: Mon, 23 Oct 2017 13:08:24 +0300 Subject: [PATCH] allow implicit constructor of Result::Error --- result.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/result.hpp b/result.hpp index cbe051a..75dd7fc 100644 --- a/result.hpp +++ b/result.hpp @@ -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);