From cbff90bdee0f5169c3d63a7efcdcd42f69e083c5 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 26 Jan 2022 04:09:31 +0200 Subject: [PATCH] Rename has_source_location to has_throw_location --- include/boost/throw_exception.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/throw_exception.hpp b/include/boost/throw_exception.hpp index bb0e2f7..e709d8b 100644 --- a/include/boost/throw_exception.hpp +++ b/include/boost/throw_exception.hpp @@ -41,9 +41,9 @@ BOOST_NORETURN void throw_exception( std::exception const & e, boost::source_loc #endif -// has_source_location +// has_throw_location -struct has_source_location +struct has_throw_location { virtual boost::source_location location() const BOOST_NOEXCEPT = 0; }; @@ -154,7 +154,7 @@ public: template struct BOOST_SYMBOL_VISIBLE wrapexcept: public E, - public has_source_location + public has_throw_location { private: