forked from boostorg/exception
Port to Boost.Core demangle() and typeinfo.
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
#include <boost/exception/detail/type_info.hpp>
|
||||
#include <boost/exception/detail/clone_current_exception.hpp>
|
||||
#ifndef BOOST_NO_RTTI
|
||||
#include <boost/exception/detail/type_info.hpp> // exception_detail::demangle()
|
||||
#include <boost/core/demangle.hpp>
|
||||
#endif
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include <stdexcept>
|
||||
@ -92,7 +92,7 @@ boost
|
||||
std::string
|
||||
to_string( original_exception_type const & x )
|
||||
{
|
||||
return exception_detail::demangle(x.value()->name());
|
||||
return core::demangle(x.value()->name());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user