Skip to content

Commit eb8291e

Browse files
committed
Fix some test (more) failures in Boost.Algorithm
[SVN r77073]
1 parent f023127 commit eb8291e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/boost/algorithm/cxx11/is_permutation.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
#include <algorithm> // for std::less, tie, mismatch and is_permutation (if available)
1616
#include <utility> // for std::make_pair
17+
#include <functional> // for std::equal_to
1718
#include <iterator>
18-
#include <iostream>
1919

2020
#include <boost/range/begin.hpp>
2121
#include <boost/range/end.hpp>

include/boost/algorithm/cxx11/ordered.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ using std::is_sorted; // Section 25.4.1.5
233233
bool is_strictly_increasing ( ForwardIterator first, ForwardIterator last )
234234
{
235235
typedef typename std::iterator_traits<ForwardIterator>::value_type value_type;
236-
return is_sorted (first, last, std::less<value_type>());
236+
return boost::algorithm::is_sorted (first, last, std::less<value_type>());
237237
}
238238

239239
/// \fn is_strictly_increasing ( const R &range )

0 commit comments

Comments
 (0)