Merge pull request #552 from omki2005/noexcept

change throw() to noexcept to conform to c++11
This commit is contained in:
Christopher Dunn
2016-11-08 07:21:56 -06:00
committed by GitHub
3 changed files with 11 additions and 5 deletions

View File

@@ -193,9 +193,9 @@ namespace Json {
Exception::Exception(JSONCPP_STRING const& msg)
: msg_(msg)
{}
Exception::~Exception() throw()
Exception::~Exception() JSONCPP_NOEXCEPT
{}
char const* Exception::what() const throw()
char const* Exception::what() const JSONCPP_NOEXCEPT
{
return msg_.c_str();
}