Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68446 - trunk/libs/unordered/test/unordered
From: dnljms_at_[hidden]
Date: 2011-01-25 15:15:41


Author: danieljames
Date: 2011-01-25 15:15:27 EST (Tue, 25 Jan 2011)
New Revision: 68446
URL: http://svn.boost.org/trac/boost/changeset/68446

Log:
Make unnecessary_copy_tests a bit more lenient.

I'm not sure if those extra moves are avoidable, but I'll allow them for
now. They shouldn't hurt much.
Text files modified:
   trunk/libs/unordered/test/unordered/unnecessary_copy_tests.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/unordered/test/unordered/unnecessary_copy_tests.cpp
==============================================================================
--- trunk/libs/unordered/test/unordered/unnecessary_copy_tests.cpp (original)
+++ trunk/libs/unordered/test/unordered/unnecessary_copy_tests.cpp 2011-01-25 15:15:27 EST (Tue, 25 Jan 2011)
@@ -261,7 +261,7 @@
         // copied.
         reset();
         x.emplace(source<std::pair<count_copies, count_copies> >());
- COPY_COUNT(2); MOVE_COUNT(0);
+ COPY_COUNT(2); MOVE_COUNT_RANGE(0,2);
 
         // TODO: This doesn't work on older versions of gcc.
         //count_copies part;


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