Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
playground
>
boost
> boost-bitset.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File boost-bitset.patch of Package boost
--- boost/dynamic_bitset/dynamic_bitset.hpp.debug 2008-10-22 03:13:59.000000000 +0900 +++ boost/dynamic_bitset/dynamic_bitset.hpp 2009-03-23 03:36:40.000000000 +0900 @@ -1017,8 +1017,11 @@ ? access_by_bytes : access_by_blocks; + if (mode) + return do_count(m_bits.begin(), num_blocks(), Block(0), + static_cast<value_to_type<true> *>(0)); return do_count(m_bits.begin(), num_blocks(), Block(0), - static_cast<value_to_type<mode> *>(0)); + static_cast<value_to_type<false> *>(0)); }