mirror of https://github.com/CGAL/cgal
replace bind in Mesh_3 packages
This commit is contained in:
parent
cef46c9ee6
commit
2eb9908699
|
|
@ -50,7 +50,6 @@
|
|||
|
||||
#include <CGAL/boost/iterator/transform_iterator.hpp>
|
||||
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/function_output_iterator.hpp>
|
||||
#ifndef CGAL_NO_ASSERTIONS
|
||||
# include <boost/math/special_functions/next.hpp> // for float_prior
|
||||
|
|
@ -1879,7 +1878,7 @@ next_vertex_along_curve(const Vertex_handle& start,
|
|||
adjacent_vertices.erase
|
||||
(std::remove_if(adjacent_vertices.begin(),
|
||||
adjacent_vertices.end(),
|
||||
boost::bind(&Adjacent_vertices::value_type::second, _1) != curve_index),
|
||||
[curve_index](const auto& p){ return p.second != curve_index; }),
|
||||
adjacent_vertices.end());
|
||||
CGAL_assertion(adjacent_vertices.size() == 2);
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@
|
|||
|
||||
#include <CGAL/boost/iterator/transform_iterator.hpp>
|
||||
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/function_output_iterator.hpp>
|
||||
#ifndef CGAL_NO_ASSERTIONS
|
||||
# include <boost/math/special_functions/next.hpp> // for float_prior
|
||||
|
|
@ -2892,7 +2891,7 @@ next_vertex_along_curve(const Vertex_handle& start,
|
|||
adjacent_vertices.erase
|
||||
(std::remove_if(adjacent_vertices.begin(),
|
||||
adjacent_vertices.end(),
|
||||
boost::bind(&Adjacent_vertices::value_type::second, _1) != curve_index),
|
||||
[curve_index](const auto& p){ return p.second != curve_index;}),
|
||||
adjacent_vertices.end());
|
||||
|
||||
// typename Adjacent_vertices::const_iterator iv = adjacent_vertices.begin();
|
||||
|
|
|
|||
Loading…
Reference in New Issue