Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60331 - trunk/libs/utility/swap/test
From: nielsdekker_at_[hidden]
Date: 2010-03-07 16:42:22


Author: niels_dekker
Date: 2010-03-07 16:42:22 EST (Sun, 07 Mar 2010)
New Revision: 60331
URL: http://svn.boost.org/trac/boost/changeset/60331

Log:
Hopefully fixed #3984 (std::bitset constructor issue). Tested by Juergen Hunold on msvc-10.0, msvc-9.0, and gcc-4.4. See thread starting at http://lists.boost.org/Archives/boost/2010/03/162690.php
Text files modified:
   trunk/libs/utility/swap/test/std_bitset.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/utility/swap/test/std_bitset.cpp
==============================================================================
--- trunk/libs/utility/swap/test/std_bitset.cpp (original)
+++ trunk/libs/utility/swap/test/std_bitset.cpp 2010-03-07 16:42:22 EST (Sun, 07 Mar 2010)
@@ -17,8 +17,8 @@
 int test_main(int, char*[])
 {
   typedef std::bitset<8> bitset_type;
- const bitset_type initial_value1 = 1ul;
- const bitset_type initial_value2 = 2ul;
+ const bitset_type initial_value1 = 1;
+ const bitset_type initial_value2 = 2;
 
   bitset_type object1 = initial_value1;
   bitset_type object2 = initial_value2;


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