forked from boostorg/exception
avoid C style casts
[SVN r53666]
This commit is contained in:
1 parent
e7c9f21a93
commit
bfaa9b404e
1 file changed
+1
-1
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user