Boost logo

Boost-Commit :

From: Boris.Gubenko_at_[hidden]
Date: 2007-12-10 13:51:20


Author: bgubenko
Date: 2007-12-10 13:51:19 EST (Mon, 10 Dec 2007)
New Revision: 41959
URL: http://svn.boost.org/trac/boost/changeset/41959

Log:
merge change in trunk (changeset/41778) to release branch
Text files modified:
   branches/release/boost/dynamic_bitset/dynamic_bitset.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: branches/release/boost/dynamic_bitset/dynamic_bitset.hpp
==============================================================================
--- branches/release/boost/dynamic_bitset/dynamic_bitset.hpp (original)
+++ branches/release/boost/dynamic_bitset/dynamic_bitset.hpp 2007-12-10 13:51:19 EST (Mon, 10 Dec 2007)
@@ -1087,7 +1087,8 @@
 
     assert((size_type)bits_per_block * i < (size_type)ulong_width);
 
- result |= (m_bits[i] << (bits_per_block * i));
+ unsigned long piece = m_bits[i];
+ result |= (piece << (bits_per_block * i));
   }
 
   return result;


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