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: