Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62892 - trunk/boost/exception
From: emil_at_[hidden]
Date: 2010-06-12 22:35:16


Author: emildotchevski
Date: 2010-06-12 22:35:15 EDT (Sat, 12 Jun 2010)
New Revision: 62892
URL: http://svn.boost.org/trac/boost/changeset/62892

Log:
Ticket 4337
Text files modified:
   trunk/boost/exception/info.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/exception/info.hpp
==============================================================================
--- trunk/boost/exception/info.hpp (original)
+++ trunk/boost/exception/info.hpp 2010-06-12 22:35:15 EDT (Sat, 12 Jun 2010)
@@ -114,8 +114,8 @@
                     tmp << header;
                     for( error_info_map::const_iterator i=info_.begin(),end=info_.end(); i!=end; ++i )
                         {
- shared_ptr<error_info_base const> const & x = i->second;
- tmp << '[' << x->tag_typeid_name() << "] = " << x->value_as_string() << '\n';
+ error_info_base const & x = *i->second;
+ tmp << '[' << x.tag_typeid_name() << "] = " << x.value_as_string() << '\n';
                         }
                     tmp.str().swap(diagnostic_info_str_);
                     }


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