From 4f269a270c37bcf14c4bcb6a48da8cc7cbabc8d2 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Tue, 18 Jun 2013 14:46:32 +0000 Subject: [PATCH] Fix error in compile-fail test; now fails to compile for the right reason [SVN r84824] --- test/gather_fail1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gather_fail1.cpp b/test/gather_fail1.cpp index 2670bd0..7fe5b7f 100644 --- a/test/gather_fail1.cpp +++ b/test/gather_fail1.cpp @@ -27,7 +27,7 @@ void test_sequence1 () { typedef input_iterator::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 ); }