boost::remove_pointer -> std::remove_pointer

This commit is contained in:
Sébastien Loriot 2023-04-23 19:25:48 +02:00
parent 8b3acae1c7
commit b99c384528
2 changed files with 4 additions and 5 deletions

View File

@ -122,8 +122,8 @@ void split_long_duplicated_edge(const HedgeRange& hedge_range,
{
typedef typename HedgeRange::value_type Pair;
typedef typename Pair::first_type halfedge_descriptor;
typedef typename boost::remove_pointer<
typename Pair::second_type>::type TriangleMesh;
typedef std::remove_pointer_t<
typename Pair::second_type> TriangleMesh;
typedef typename boost::property_map<TriangleMesh,
CGAL::vertex_point_t>::type PointPMap;
typedef typename boost::property_traits<PointPMap>::value_type Point_3;

View File

@ -25,7 +25,6 @@
#include <memory>
#include <cstddef>
#include <functional>
#include <boost/type_traits/remove_pointer.hpp>
namespace CGAL {
@ -120,12 +119,12 @@ public:
std::remove_reference_t<Ref>
>&,
std::remove_const_t<
typename boost::remove_pointer<Ptr>::type
std::remove_pointer_t<Ptr>
>* >
remove_const() const
{
typedef std::remove_const_t<
typename boost::remove_pointer<Ptr>::type
std::remove_pointer_t<Ptr>
>* Ptr_no_c;
return vector_iterator< T,
std::remove_const_t<std::remove_reference_t<Ref>>&,