Improving CodeGear C++Builder 2009 compatibility

[SVN r48918]
This commit is contained in:
Emil Dotchevski authored and Peter Dimov committed 2014-06-03 01:49:24 +03:00
1 parent f33d01a7a7
commit 97a934102e
1 file changed
+2 -1
+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);
}
////////////////////////////////////////////////////////////////////////