Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84824 - trunk/libs/algorithm/test
From: marshall_at_[hidden]
Date: 2013-06-18 10:46:32


Author: marshall
Date: 2013-06-18 10:46:32 EDT (Tue, 18 Jun 2013)
New Revision: 84824
URL: http://svn.boost.org/trac/boost/changeset/84824

Log:
Fix error in compile-fail test; now fails to compile for the right reason

Text files modified:
   trunk/libs/algorithm/test/gather_fail1.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/algorithm/test/gather_fail1.cpp
==============================================================================
--- trunk/libs/algorithm/test/gather_fail1.cpp Mon Jun 17 22:22:07 2013 (r84823)
+++ trunk/libs/algorithm/test/gather_fail1.cpp 2013-06-18 10:46:32 EDT (Tue, 18 Jun 2013) (r84824)
@@ -27,7 +27,7 @@
     typedef input_iterator<std::vector<int>::iterator> II;
 
 // This should fail to compile, since gather doesn't work with input iterators
- (void) ba::gather ( II( v.begin ()), II( v.end ()), II( v.begin ()), is_even );
+ (void) ba::gather ( II( v.begin ()), II( v.end ()), II( v.begin ()), is_ten );
     }
 
 


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