From 9090f38cde78ed01223109f0a237f4964111ba4e Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Sun, 13 Jun 2010 02:35:15 +0000 Subject: [PATCH] Ticket 4337 [SVN r62892] --- include/boost/exception/info.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/exception/info.hpp b/include/boost/exception/info.hpp index dbc44c3..c918dbd 100644 --- a/include/boost/exception/info.hpp +++ b/include/boost/exception/info.hpp @@ -114,8 +114,8 @@ boost tmp << header; for( error_info_map::const_iterator i=info_.begin(),end=info_.end(); i!=end; ++i ) { - shared_ptr 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_); }