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
committed by Peter Dimov
parent 8abce1b0f4
commit 4d7862f79e

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