Merge pull request #55 from Romain-Geissler-1A/noexcept

Use BOOST_NOEXCEPT_OR_NOTHROW in public headers to prepare for C++20.
This commit is contained in:
Peter Dimov
2018-11-10 19:32:01 +02:00
committed by GitHub

View File

@ -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";
}