avoid C style casts

[SVN r53669]
This commit is contained in:
Gennadiy Rozental
2009-06-06 09:39:27 +00:00
committed by Peter Dimov
parent ce5481b131
commit d77aa6c801

View File

@ -303,7 +303,7 @@ boost
struct
enable_error_info_return_type
{
typedef typename enable_error_info_helper<T,sizeof(dispatch(reinterpret_cast<T*>(0)))>::type type;
typedef typename enable_error_info_helper<T,sizeof(dispatch(static_cast<T*>(0)))>::type type;
};
}