Change static assertion so that it doesn't cause a warning with VC8.

[SVN r28772]
This commit is contained in:
John Maddock
2005-05-09 16:19:05 +00:00
parent 30571abccc
commit 955177b624

View File

@ -78,7 +78,7 @@ struct is_abstract_imp2
// T must be a complete type, further if T is a template then
// it must be instantiated in order for us to get the right answer:
//
BOOST_STATIC_ASSERT(sizeof(T));
BOOST_STATIC_ASSERT(sizeof(T) != 0);
// GCC2 won't even parse this template if we embed the computation
// of s1 in the computation of value.