Merge branch 'mkurdej-hotfix/deprecated-throw' into develop

This commit is contained in:
Beman
2017-05-28 09:19:32 -04:00

View File

@ -44,10 +44,10 @@ namespace boost
const char * what_arg ) const char * what_arg )
: std::runtime_error(what_arg), m_error_code(ev,ecat) {} : std::runtime_error(what_arg), m_error_code(ev,ecat) {}
virtual ~system_error() throw() {} virtual ~system_error() BOOST_NOEXCEPT_OR_NOTHROW {}
const error_code & code() const throw() { return m_error_code; } const error_code & code() const BOOST_NOEXCEPT_OR_NOTHROW { return m_error_code; }
const char * what() const throw(); const char * what() const BOOST_NOEXCEPT_OR_NOTHROW;
private: private:
error_code m_error_code; error_code m_error_code;
@ -56,7 +56,7 @@ namespace boost
// implementation ------------------------------------------------------// // implementation ------------------------------------------------------//
inline const char * system_error::what() const throw() inline const char * system_error::what() const BOOST_NOEXCEPT_OR_NOTHROW
// see http://www.boost.org/more/error_handling.html for lazy build rationale // see http://www.boost.org/more/error_handling.html for lazy build rationale
{ {
if ( m_what.empty() ) if ( m_what.empty() )