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); + } + }; /* *