Improving CodeGear C++Builder 2009 compatibility

[SVN r48918]
This commit is contained in:
Emil Dotchevski
2014-06-03 01:49:24 +03:00
committed by Peter Dimov
parent f33d01a7a7
commit 97a934102e
+2 -1
View File
@@ -313,7 +313,8 @@ boost
exception_detail::enable_error_info_return_type<T>::type
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);
}
////////////////////////////////////////////////////////////////////////