|
Boost-Commit : |
From: Boris.Gubenko_at_[hidden]
Date: 2007-12-17 13:47:09
Author: bgubenko
Date: 2007-12-17 13:47:09 EST (Mon, 17 Dec 2007)
New Revision: 42130
URL: http://svn.boost.org/trac/boost/changeset/42130
Log:
merge trunk version (changeset/42065) to release branch
Text files modified:
branches/release/boost/test/test_tools.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: branches/release/boost/test/test_tools.hpp
==============================================================================
--- branches/release/boost/test/test_tools.hpp (original)
+++ branches/release/boost/test/test_tools.hpp 2007-12-17 13:47:09 EST (Mon, 17 Dec 2007)
@@ -651,13 +651,13 @@
std::size_t left_bit_size = sizeof(Left)*CHAR_BIT;
std::size_t right_bit_size = sizeof(Right)*CHAR_BIT;
- static Left const L1( 1 );
- static Right const R1( 1 );
+ static Left const leftOne( 1 );
+ static Right const rightOne( 1 );
std::size_t total_bits = left_bit_size < right_bit_size ? left_bit_size : right_bit_size;
for( std::size_t counter = 0; counter < total_bits; ++counter ) {
- if( ( left & ( L1 << counter ) ) != ( right & ( R1 << counter ) ) ) {
+ if( ( left & ( leftOne << counter ) ) != ( right & ( rightOne << counter ) ) ) {
res = false;
res.message() << "\nMismatch in a position " << counter;
}
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