|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r77073 - trunk/boost/algorithm/cxx11
From: marshall_at_[hidden]
Date: 2012-02-19 11:17:29
Author: marshall
Date: 2012-02-19 11:17:27 EST (Sun, 19 Feb 2012)
New Revision: 77073
URL: http://svn.boost.org/trac/boost/changeset/77073
Log:
Fix some test (more) failures in Boost.Algorithm
Text files modified:
trunk/boost/algorithm/cxx11/is_permutation.hpp | 2 +-
trunk/boost/algorithm/cxx11/ordered.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/algorithm/cxx11/is_permutation.hpp
==============================================================================
--- trunk/boost/algorithm/cxx11/is_permutation.hpp (original)
+++ trunk/boost/algorithm/cxx11/is_permutation.hpp 2012-02-19 11:17:27 EST (Sun, 19 Feb 2012)
@@ -14,8 +14,8 @@
#include <algorithm> // for std::less, tie, mismatch and is_permutation (if available)
#include <utility> // for std::make_pair
+#include <functional> // for std::equal_to
#include <iterator>
-#include <iostream>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>
Modified: trunk/boost/algorithm/cxx11/ordered.hpp
==============================================================================
--- trunk/boost/algorithm/cxx11/ordered.hpp (original)
+++ trunk/boost/algorithm/cxx11/ordered.hpp 2012-02-19 11:17:27 EST (Sun, 19 Feb 2012)
@@ -233,7 +233,7 @@
bool is_strictly_increasing ( ForwardIterator first, ForwardIterator last )
{
typedef typename std::iterator_traits<ForwardIterator>::value_type value_type;
- return is_sorted (first, last, std::less<value_type>());
+ return boost::algorithm::is_sorted (first, last, std::less<value_type>());
}
/// \fn is_strictly_increasing ( const R &range )
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