diff --git a/include/boost/exception/diagnostic_information.hpp b/include/boost/exception/diagnostic_information.hpp index 51fea95..145fbe5 100644 --- a/include/boost/exception/diagnostic_information.hpp +++ b/include/boost/exception/diagnostic_information.hpp @@ -149,11 +149,11 @@ boost if( f ) { tmp << *f; - if( int const * l=get_error_info(*be) ) + if( l ) tmp << '(' << *l << "): "; } tmp << "Throw in function "; - if( char const * const * fn=get_error_info(*be) ) + if( fn ) tmp << *fn; else tmp << "(unknown)";