forked from boostorg/throw_exception
Improving CodeGear C++Builder 2009 compatibility
[SVN r48918]
This commit is contained in:
committed by
Peter Dimov
parent
f33d01a7a7
commit
97a934102e
@ -313,7 +313,8 @@ boost
|
|||||||
exception_detail::enable_error_info_return_type<T>::type
|
exception_detail::enable_error_info_return_type<T>::type
|
||||||
enable_error_info( T const & x )
|
enable_error_info( T const & x )
|
||||||
{
|
{
|
||||||
return typename exception_detail::enable_error_info_return_type<T>::type(x);
|
typedef typename exception_detail::enable_error_info_return_type<T>::type rt;
|
||||||
|
return rt(x);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
|
Reference in New Issue
Block a user