From 955177b624e6dd280b64e00363dcbdb8c5123c2b Mon Sep 17 00:00:00 2001 From: John Maddock Date: Mon, 9 May 2005 16:19:05 +0000 Subject: [PATCH] Change static assertion so that it doesn't cause a warning with VC8. [SVN r28772] --- include/boost/type_traits/is_abstract.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/type_traits/is_abstract.hpp b/include/boost/type_traits/is_abstract.hpp index 27b2700..4f9b791 100755 --- a/include/boost/type_traits/is_abstract.hpp +++ b/include/boost/type_traits/is_abstract.hpp @@ -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.