Mercurial > hg > vamp-build-and-test
diff DEPENDENCIES/generic/include/boost/exception/diagnostic_information.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
line wrap: on
line diff
--- a/DEPENDENCIES/generic/include/boost/exception/diagnostic_information.hpp Fri Sep 04 12:01:02 2015 +0100 +++ b/DEPENDENCIES/generic/include/boost/exception/diagnostic_information.hpp Mon Sep 07 11:12:49 2015 +0100 @@ -16,9 +16,9 @@ #include <boost/exception/get_error_info.hpp> #include <boost/exception/info.hpp> #include <boost/utility/enable_if.hpp> -//#ifndef BOOST_NO_RTTI -//#include <boost/units/detail/utility.hpp> -//#endif +#ifndef BOOST_NO_RTTI +#include <boost/core/demangle.hpp> +#endif #include <exception> #include <sstream> #include <string> @@ -151,7 +151,7 @@ #ifndef BOOST_NO_RTTI if ( verbose ) tmp << std::string("Dynamic exception type: ") << - /*units::detail::demangle*/((be?(BOOST_EXCEPTION_DYNAMIC_TYPEID(*be)):(BOOST_EXCEPTION_DYNAMIC_TYPEID(*se))).type_->name()) << '\n'; + core::demangle((be?(BOOST_EXCEPTION_DYNAMIC_TYPEID(*be)):(BOOST_EXCEPTION_DYNAMIC_TYPEID(*se))).type_->name()) << '\n'; #endif if( with_what && se && verbose ) tmp << "std::exception::what: " << wh << '\n';