Cast an anonymous enum to bool. Fixes #4025.

[SVN r62897]
This commit is contained in:
Steven Watanabe
2010-06-13 04:23:35 +00:00
parent 60f871da0c
commit f199a7f006

View File

@@ -54,7 +54,7 @@ class dynamic_bitset
// 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;