Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62897 - trunk/boost/dynamic_bitset
From: steven_at_[hidden]
Date: 2010-06-13 00:23:39


Author: steven_watanabe
Date: 2010-06-13 00:23:35 EDT (Sun, 13 Jun 2010)
New Revision: 62897
URL: http://svn.boost.org/trac/boost/changeset/62897

Log:
Cast an anonymous enum to bool. Fixes #4025.
Text files modified:
   trunk/boost/dynamic_bitset/dynamic_bitset.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/dynamic_bitset/dynamic_bitset.hpp
==============================================================================
--- trunk/boost/dynamic_bitset/dynamic_bitset.hpp (original)
+++ trunk/boost/dynamic_bitset/dynamic_bitset.hpp 2010-06-13 00:23:35 EDT (Sun, 13 Jun 2010)
@@ -54,7 +54,7 @@
   // of VC++ are likely able to digest a more drinking form of the
   // code; but changing it now is probably not worth the risks...]
 
- BOOST_STATIC_ASSERT(detail::dynamic_bitset_impl::allowed_block_type<Block>::value);
+ BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value);
 
 public:
     typedef Block block_type;


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