From 22b9044222a7e49602a6e4985aa52ecada42f813 Mon Sep 17 00:00:00 2001 From: Luigi Malomo Date: Wed, 17 Nov 2021 15:43:42 +0100 Subject: [PATCH] cleaning --- vcg/complex/algorithms/geodesic.h | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/vcg/complex/algorithms/geodesic.h b/vcg/complex/algorithms/geodesic.h index 40436918..bb745456 100644 --- a/vcg/complex/algorithms/geodesic.h +++ b/vcg/complex/algorithms/geodesic.h @@ -207,18 +207,12 @@ public: typedef SimpleTempData, TempData > TempDataType; - class pred { - public: - pred () {}; - bool operator()(const VertDist& v0, const VertDist& v1) const - {return (v0.d > v1.d);} - }; - - //struct pred: public std::binary_function{ - // pred(){} - // bool operator()(const VertDist& v0, const VertDist& v1) const - // {return (v0.d > v1.d);} - //}; + struct pred { + pred() {}; + bool operator()(const VertDist& v0, const VertDist& v1) const { + return (v0.d > v1.d); + } + }; /* *