mirror of https://github.com/CGAL/cgal
remove bind in Incribed_areas
This commit is contained in:
parent
87e20cd574
commit
3882d27076
|
|
@ -25,8 +25,6 @@
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <CGAL/Extremal_polygon_traits_2.h>
|
#include <CGAL/Extremal_polygon_traits_2.h>
|
||||||
#include <boost/bind.hpp>
|
|
||||||
#include <boost/bind/make_adaptable.hpp>
|
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
|
|
||||||
//!!! This will eventually be integrated into function_objects.h
|
//!!! This will eventually be integrated into function_objects.h
|
||||||
|
|
@ -443,8 +441,8 @@ extremal_polygon_2(
|
||||||
k,
|
k,
|
||||||
CGAL::transform_iterator(
|
CGAL::transform_iterator(
|
||||||
o,
|
o,
|
||||||
boost::make_adaptable<Point_2, int>(boost::bind(Index_operator< RandomAccessIC, int, Point_2 >(),
|
std::function<Point_2(int)>([points_begin](int i)
|
||||||
points_begin, _1))),
|
{ return Index_operator< RandomAccessIC, int, Point_2 >()(points_begin, i); })),
|
||||||
t);
|
t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue