Incorrect check in cloning_test fixed, and workaround for Metrowerks.

[SVN r69619]
This commit is contained in:
Emil Dotchevski
2011-03-07 07:39:50 +00:00
parent a74d041bd5
commit fb4ed73b5e
2 changed files with 3 additions and 3 deletions

View File

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