forked from boostorg/smart_ptr
Use BOOST_NOEXCEPT_OR_NOTHROW in public headers to prepare for C++20.
This commit is contained in:
@ -47,7 +47,7 @@ class bad_weak_ptr: public std::exception
|
||||
{
|
||||
public:
|
||||
|
||||
virtual char const * what() const throw()
|
||||
virtual char const * what() const BOOST_NOEXCEPT_OR_NOTHROW
|
||||
{
|
||||
return "tr1::bad_weak_ptr";
|
||||
}
|
||||
|
Reference in New Issue
Block a user