From 456da93897b89c4f3fa591d472cdb9f6c2d4c44b Mon Sep 17 00:00:00 2001 From: Romain Geissler Date: Fri, 9 Nov 2018 14:55:34 +0000 Subject: [PATCH] Use BOOST_NOEXCEPT_OR_NOTHROW in public headers to prepare for C++20. --- include/boost/smart_ptr/bad_weak_ptr.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/smart_ptr/bad_weak_ptr.hpp b/include/boost/smart_ptr/bad_weak_ptr.hpp index b086be5..e3e81f9 100644 --- a/include/boost/smart_ptr/bad_weak_ptr.hpp +++ b/include/boost/smart_ptr/bad_weak_ptr.hpp @@ -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"; }