mirror of https://github.com/CGAL/cgal
Replaced copy-constructor of traits with simple conversion
This commit is contained in:
parent
11de0a7c79
commit
22d35af320
|
|
@ -3060,7 +3060,7 @@ public:
|
||||||
*/
|
*/
|
||||||
Comparison_result operator()(const Point_2& p1, const Point_2& p2) const
|
Comparison_result operator()(const Point_2& p1, const Point_2& p2) const
|
||||||
{
|
{
|
||||||
Base base(m_self);
|
const Base& base = m_self;
|
||||||
return base.compare_xy_2_object()(p1, p2);
|
return base.compare_xy_2_object()(p1, p2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue