fix MWCW function-scope assertions

[SVN r25185]
This commit is contained in:
Aleksey Gurtovoy
2004-09-18 06:33:05 +00:00
parent b11a4e267e
commit 03be656c75

View File

@@ -70,8 +70,7 @@ struct assertion
template<>
struct assertion<true>
{
template <class T>
static int failed(T);
static int failed( void* );
};
struct assert_
@@ -303,7 +302,6 @@ enum { \
typedef struct BOOST_PP_CAT(msg,__LINE__) : boost::mpl::assert_ \
{ \
using boost::mpl::assert_::types; \
enum { msg }; \
static boost::mpl::failed ************ (msg::************ assert_arg()) types_ \
{ return 0; } \
} BOOST_PP_CAT(mpl_assert_arg,__LINE__); \