Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-09-16 04:50:11


Author: johnmaddock
Date: 2007-09-16 04:50:09 EDT (Sun, 16 Sep 2007)
New Revision: 39307
URL: http://svn.boost.org/trac/boost/changeset/39307

Log:
Fix msvc warnings.
Text files modified:
   trunk/boost/type_traits/is_base_and_derived.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/type_traits/is_base_and_derived.hpp
==============================================================================
--- trunk/boost/type_traits/is_base_and_derived.hpp (original)
+++ trunk/boost/type_traits/is_base_and_derived.hpp 2007-09-16 04:50:09 EDT (Sun, 16 Sep 2007)
@@ -133,8 +133,8 @@
     // 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
     {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk