summaryrefslogtreecommitdiff
path: root/boost/exception/info.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/exception/info.hpp')
-rw-r--r--boost/exception/info.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/exception/info.hpp b/boost/exception/info.hpp
index 5530746223..7b56076d7b 100644
--- a/boost/exception/info.hpp
+++ b/boost/exception/info.hpp
@@ -97,7 +97,7 @@ boost
{
shared_ptr<error_info_base> 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;
}