mirror of https://github.com/CGAL/cgal
do not use result_type
This commit is contained in:
parent
a4170b1fb9
commit
09564a6d7b
|
|
@ -374,6 +374,7 @@ template <class Traits>
|
||||||
class Compare_xy_along_axis
|
class Compare_xy_along_axis
|
||||||
{
|
{
|
||||||
// private members
|
// private members
|
||||||
|
typedef typename Traits::Comparison_result Comparison_result;
|
||||||
typedef typename Traits::Vector_3 Vector_3;
|
typedef typename Traits::Vector_3 Vector_3;
|
||||||
typedef typename Traits::Point_2 Point;
|
typedef typename Traits::Point_2 Point;
|
||||||
Vector_3 base1, base2;
|
Vector_3 base1, base2;
|
||||||
|
|
@ -385,8 +386,6 @@ public:
|
||||||
CGAL_TIME_PROFILER("Construct Compare_xy_along_axis")
|
CGAL_TIME_PROFILER("Construct Compare_xy_along_axis")
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef Comparison_result result_type;
|
|
||||||
|
|
||||||
Comparison_result operator()(const Point& p, const Point& q) const
|
Comparison_result operator()(const Point& p, const Point& q) const
|
||||||
{
|
{
|
||||||
Compare_along_axis<Traits> cx(base1);
|
Compare_along_axis<Traits> cx(base1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue