avoid C style casts

[SVN r53666]
This commit is contained in:
Gennadiy Rozental
2014-06-03 01:49:29 +03:00
committed by Peter Dimov
parent 7c3618879c
commit ce5481b131
+1 -1
View File
@@ -303,7 +303,7 @@ boost
struct
enable_error_info_return_type
{
typedef typename enable_error_info_helper<T,sizeof(dispatch((T*)0))>::type type;
typedef typename enable_error_info_helper<T,sizeof(dispatch(reinterpret_cast<T*>(0)))>::type type;
};
}