OSDN Git Service
(root)
/
yamml
/
yamml-git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
918bb61
)
YAMML::Exceptions::Exception のコンストラクターを explicit に
author
starg
<starg@users.osdn.me>
Wed, 29 Jun 2016 21:30:49 +0000
(06:30 +0900)
committer
starg
<starg@users.osdn.me>
Wed, 29 Jun 2016 21:30:49 +0000
(06:30 +0900)
include/exceptions/exception.hpp
patch
|
blob
|
history
diff --git
a/include/exceptions/exception.hpp
b/include/exceptions/exception.hpp
index
7ffbf6c
..
1223b11
100644
(file)
--- 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)
{
}