mirror of https://github.com/CGAL/cgal
Remove deprecated std::unary_function
This commit is contained in:
parent
403420a6d8
commit
0fa9e17213
|
|
@ -24,6 +24,7 @@
|
||||||
#include <CGAL/property_map.h>
|
#include <CGAL/property_map.h>
|
||||||
#include <CGAL/value_type_traits.h>
|
#include <CGAL/value_type_traits.h>
|
||||||
#include <CGAL/compute_average_spacing.h>
|
#include <CGAL/compute_average_spacing.h>
|
||||||
|
#include <CGAL/functional.h>
|
||||||
|
|
||||||
class GlViewer;
|
class GlViewer;
|
||||||
|
|
||||||
|
|
@ -81,7 +82,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
struct Point_3_from_sample : public std::unary_function<Sample_, typename K::Point_3>
|
struct Point_3_from_sample : public CGAL::unary_function<Sample_, typename K::Point_3>
|
||||||
{
|
{
|
||||||
typename K::Point_3 operator() (const Sample_& sample) const
|
typename K::Point_3 operator() (const Sample_& sample) const
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue