Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74471 - trunk/boost/exception
From: emil_at_[hidden]
Date: 2011-09-19 17:45:34


Author: emildotchevski
Date: 2011-09-19 17:45:34 EDT (Mon, 19 Sep 2011)
New Revision: 74471
URL: http://svn.boost.org/trac/boost/changeset/74471

Log:
Fix for the problem reported by Pavel Lebedev. Thanks!
Text files modified:
   trunk/boost/exception/info.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/exception/info.hpp
==============================================================================
--- trunk/boost/exception/info.hpp (original)
+++ trunk/boost/exception/info.hpp 2011-09-19 17:45:34 EDT (Mon, 19 Sep 2011)
@@ -97,7 +97,7 @@
                     {
                     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;
                     }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk