|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62898 - trunk/boost/dynamic_bitset
From: steven_at_[hidden]
Date: 2010-06-13 00:36:55
Author: steven_watanabe
Date: 2010-06-13 00:36:50 EDT (Sun, 13 Jun 2010)
New Revision: 62898
URL: http://svn.boost.org/trac/boost/changeset/62898
Log:
Use the correct variable type to save the result of count_extra_bits(). Fixes #4022.
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:36:50 EDT (Sun, 13 Jun 2010)
@@ -670,7 +670,7 @@
if (value && (num_bits > m_num_bits)) {
- const size_type extra_bits = count_extra_bits();
+ const block_width_type extra_bits = count_extra_bits();
if (extra_bits) {
assert(old_num_blocks >= 1 && old_num_blocks <= m_bits.size());
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