mirror of https://github.com/CGAL/cgal
Fixed "taking ref of temporary" warning in KDS
For KDS' regular triangulations, the construct_point_3(Weighted_point_3) does _not_ return a reference but builds a point from scratch!
This commit is contained in:
parent
dc313f82e5
commit
9e16a943c6
|
|
@ -380,11 +380,6 @@ public:
|
||||||
typedef Point_3 type;
|
typedef Point_3 type;
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename F>
|
|
||||||
struct result<F(Weighted_point_3)> {
|
|
||||||
typedef const Point_3& type;
|
|
||||||
};
|
|
||||||
|
|
||||||
template<typename F>
|
template<typename F>
|
||||||
struct result<F(Point_3)> {
|
struct result<F(Point_3)> {
|
||||||
typedef const Point_3& type;
|
typedef const Point_3& type;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue