Remove noexcept from operator std::error_category const& (allocates and can throw)

This commit is contained in:
Peter Dimov
2018-09-17 20:12:10 +03:00
parent 11a908a3fe
commit 465e9e019e

View File

@ -252,7 +252,7 @@ public:
#if defined(BOOST_SYSTEM_HAS_SYSTEM_ERROR)
operator std::error_category const & () const BOOST_NOEXCEPT;
operator std::error_category const & () const;
#endif
};
@ -831,7 +831,7 @@ inline boost::system::error_condition boost::system::detail::system_error_catego
#include <boost/system/detail/std_interoperability.hpp>
inline boost::system::error_category::operator std::error_category const & () const BOOST_NOEXCEPT
inline boost::system::error_category::operator std::error_category const & () const
{
return boost::system::detail::to_std_category( *this );
}