nitpicking

[SVN r48488]
This commit is contained in:
Emil Dotchevski
2008-08-31 04:05:19 +00:00
parent 5c84929742
commit 5d4c014f5b
14 changed files with 4525 additions and 4526 deletions

View File

@ -20,7 +20,7 @@ boost
template <class ErrorInfo>
inline
shared_ptr<typename ErrorInfo::value_type const>
get_data( exception const & x )
get_info( exception const & x )
{
if( exception_detail::error_info_container * c=x.data_.get() )
if( shared_ptr<exception_detail::error_info_base const> eib = c->get(BOOST_EXCEPTION_STATIC_TYPEID(ErrorInfo)) )
@ -41,7 +41,7 @@ boost
shared_ptr<typename ErrorInfo::value_type const>
get_error_info( boost::exception const & x )
{
return exception_detail::get_data<ErrorInfo>(x);
return exception_detail::get_info<ErrorInfo>(x);
}
#else
template <class ErrorInfo,class E>
@ -50,7 +50,7 @@ boost
get_error_info( E const & some_exception )
{
if( exception const * x = dynamic_cast<exception const *>(&some_exception) )
return exception_detail::get_data<ErrorInfo>(*x);
return exception_detail::get_info<ErrorInfo>(*x);
else
return shared_ptr<typename ErrorInfo::value_type const>();
}