From bb151449f710a30fdb1984bebdb858ec79da8507 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 16 Sep 2007 08:50:09 +0000 Subject: [PATCH] Fix msvc warnings. [SVN r39307] --- include/boost/type_traits/is_base_and_derived.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/type_traits/is_base_and_derived.hpp b/include/boost/type_traits/is_base_and_derived.hpp index 23b9727..2cff64e 100644 --- a/include/boost/type_traits/is_base_and_derived.hpp +++ b/include/boost/type_traits/is_base_and_derived.hpp @@ -133,8 +133,8 @@ struct is_base_and_derived_impl2 // May silently do the wrong thing with incomplete types // unless we trap them here: // - BOOST_STATIC_ASSERT(sizeof(B)); - BOOST_STATIC_ASSERT(sizeof(D)); + BOOST_STATIC_ASSERT(sizeof(B) != 0); + BOOST_STATIC_ASSERT(sizeof(D) != 0); struct Host {