From e277987d36ee571dc200c545fc48c2391bc05842 Mon Sep 17 00:00:00 2001 From: starg Date: Thu, 30 Jun 2016 06:30:49 +0900 Subject: [PATCH] =?utf8?q?YAMML::Exceptions::Exception=20=E3=81=AE?= =?utf8?q?=E3=82=B3=E3=83=B3=E3=82=B9=E3=83=88=E3=83=A9=E3=82=AF=E3=82=BF?= =?utf8?q?=E3=83=BC=E3=82=92=20explicit=20=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- include/exceptions/exception.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/exceptions/exception.hpp b/include/exceptions/exception.hpp index 7ffbf6c..1223b11 100644 --- a/include/exceptions/exception.hpp +++ b/include/exceptions/exception.hpp @@ -13,11 +13,11 @@ namespace Exceptions class Exception : public std::exception { public: - Exception(const char* pMessage) : m_Message(pMessage) + explicit Exception(const char* pMessage) : m_Message(pMessage) { } - Exception(const std::string& message) : m_Message(message) + explicit Exception(const std::string& message) : m_Message(message) { } -- 2.11.0