Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60668 - in branches/release: boost/unordered libs/unordered libs/unordered/test/unordered
From: daniel_james_at_[hidden]
Date: 2010-03-16 20:34:26


Author: danieljames
Date: 2010-03-16 20:34:26 EDT (Tue, 16 Mar 2010)
New Revision: 60668
URL: http://svn.boost.org/trac/boost/changeset/60668

Log:
Merge a warning fix for unordered.

Properties modified:
   branches/release/boost/unordered/ (props changed)
   branches/release/libs/unordered/ (props changed)
Text files modified:
   branches/release/libs/unordered/test/unordered/fwd_set_test.cpp | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: branches/release/libs/unordered/test/unordered/fwd_set_test.cpp
==============================================================================
--- branches/release/libs/unordered/test/unordered/fwd_set_test.cpp (original)
+++ branches/release/libs/unordered/test/unordered/fwd_set_test.cpp 2010-03-16 20:34:26 EDT (Tue, 16 Mar 2010)
@@ -57,8 +57,7 @@
     boost::unordered_set<int> x;
     BOOST_TEST(sizeof(is_unordered_set_impl(&x)) == sizeof(true_type));
 
- int dummy;
- BOOST_TEST(sizeof(is_unordered_set_impl(&dummy)) == sizeof(false_type));
+ BOOST_TEST(sizeof(is_unordered_set_impl((int*) 0)) == sizeof(false_type));
 }
 
 UNORDERED_AUTO_TEST(use_set_fwd_declared_function) {


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