Replaced last usage of CGAL/functional in this package.

This commit is contained in:
Michael Hoffmann 2008-06-19 07:08:28 +00:00
parent f8cbccc776
commit 5b9c16c729
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
#include <CGAL/Random.h>
#include <CGAL/Cartesian_matrix.h>
#include <CGAL/sorted_matrix_search.h>
#include <CGAL/functional.h>
#include <vector>
#include <algorithm>
#include <iterator>
#include <functional>
typedef int Value;
typedef std::vector<Value> Vector;
@ -38,7 +38,7 @@ int main()
CGAL::sorted_matrix_search(
&M, &M + 1,
CGAL::sorted_matrix_search_traits_adaptor(
CGAL::bind_2(std::greater_equal<Value>(), bound), M));
std::bind2nd(std::greater_equal<Value>(), bound), M));
std::cout << "Upper bound for " << bound << " is "
<< upper_bound << "." << std::endl;