mirror of https://github.com/CGAL/cgal
const& should not be in the get
This commit is contained in:
parent
7f639164c1
commit
0ecba6b9b9
|
|
@ -85,7 +85,7 @@ public:
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
const Circular_arc_2& arc = std::get<const Circular_arc_2&>(s);
|
const Circular_arc_2& arc = std::get<Circular_arc_2>(s);
|
||||||
|
|
||||||
if(arc.squared_radius() > 100) {
|
if(arc.squared_radius() > 100) {
|
||||||
Euclidean_segment_2 seg(arc.source(), arc.target());
|
Euclidean_segment_2 seg(arc.source(), arc.target());
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ namespace Qt {
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
const Circular_arc& arc = std::get<const Circular_arc&>(s);
|
const Circular_arc& arc = std::get<Circular_arc>(s);
|
||||||
|
|
||||||
if(arc.squared_radius() > 10)
|
if(arc.squared_radius() > 10)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -468,7 +468,7 @@ public:
|
||||||
typedef Hyperbolic_point_2 Hyperbolic_Voronoi_point_2;
|
typedef Hyperbolic_point_2 Hyperbolic_Voronoi_point_2;
|
||||||
typedef typename Kernel::Circle_2 Circle_2;
|
typedef typename Kernel::Circle_2 Circle_2;
|
||||||
typedef typename Kernel::Line_2 Euclidean_line_2;
|
typedef typename Kernel::Line_2 Euclidean_line_2;
|
||||||
typedef std::variant<Circle_2,Euclidean_line_2> Euclidean_circle_or_line_2;
|
typedef std::variant<Circle_2,Euclidean_line_2> Euclidean_circle_or_line_2;
|
||||||
typedef internal::HDT_2_Circular_arc_2<Self> Circular_arc_2;
|
typedef internal::HDT_2_Circular_arc_2<Self> Circular_arc_2;
|
||||||
typedef typename Kernel::Segment_2 Euclidean_segment_2; // only used internally here
|
typedef typename Kernel::Segment_2 Euclidean_segment_2; // only used internally here
|
||||||
typedef std::variant<Circular_arc_2, Euclidean_segment_2> Hyperbolic_segment_2;
|
typedef std::variant<Circular_arc_2, Euclidean_segment_2> Hyperbolic_segment_2;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue