avoid C style casts

[SVN r53666]
This commit is contained in:
Gennadiy Rozental
2009-06-06 09:30:28 +00:00
committed by Peter Dimov
parent 7c3618879c
commit ce5481b131

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;
};
}