diff --git a/include/boost/exception/info.hpp b/include/boost/exception/info.hpp index 5530746..7b56076 100644 --- a/include/boost/exception/info.hpp +++ b/include/boost/exception/info.hpp @@ -97,7 +97,7 @@ boost { shared_ptr const & p = i->second; #ifndef BOOST_NO_RTTI - BOOST_ASSERT( BOOST_EXCEPTION_DYNAMIC_TYPEID(*p).type_==ti.type_ ); + BOOST_ASSERT( *BOOST_EXCEPTION_DYNAMIC_TYPEID(*p).type_==*ti.type_ ); #endif return p; }